forked from codemirror/CodeMirror-v1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
faq.html
86 lines (63 loc) · 2.86 KB
/
faq.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CodeMirror: FAQ</title>
<link rel="stylesheet" type="text/css" href="css/docs.css"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
<h1><span class="logo-braces">{ }</span> <a href="http://codemirror.net/">CodeMirror</a></h1>
<pre class="grey">
<img src="css/baboon.png" class="logo" alt="logo"/>/* Frequently asked
questions */
</pre>
<div class="clear"><div class="leftbig blk">
<h2 id="license">Q: Can I use CodeMirror in my such-and-such project?</h2>
<p>A: Yes. The <a href="LICENSE">license</a> is short, simple, and
permissive.</p>
<h2 id="cache">Q: You said you fixed this-and-this issue, but I'm
still seeing it.</h2>
<p>A: One possibility is that I screwed up, but a very real
alternative is that you're looking at a cached version of the
CodeMirror scripts. Because the scripts are loaded into an iframe,
the ctrl-f5 you issued on the outer page doesn't always cause them
to be reloaded (IE, Opera, and Firefox are the worst offenders
here). Clear your cache and re-try.</p>
<h2 id="textarea">Q: I can't put content containing
<code></textarea></code> into CodeMirror!</h2>
<p>A: [Web-programming 101] The first <code></textarea></code>
following a <code><textarea></code> tag will close the
textarea. This has nothing to do with CodeMirror. Sit down, and
spend ten minutes thinking about why HTML-escaping was
invented.</p>
<h2 id="debug">Q: I have this huge chunk of code that does not
work, can you debug it for me?</h2>
<p>A: Nope. If you can't be bothered isolate your problem in 20
lines of code or less, I can't be bothered to think about it.</p>
<h2 id="patch">Q: How do I submit patches for CodeMirror?</h2>
<p>A: Preferred way is to create a fork on <a
href="http://github.com/marijnh/CodeMirror">github</a>, add your
patch, and send me a pull request. Diffs (against the latest
version!) by mail are also cool.</p>
</div><div class="rightsmall blk">
<h2>Questions</h2>
<ul>
<li><a href="#license">Licensing</a></li>
<li><a href="#cache">Cache Issues</a></li>
<li><a href="#textarea"><code><textarea></code></a></li>
<li><a href="#debug">Code Questions</a></li>
<li><a href="#patch">Submitting Patches</a></li>
</ul>
<h2>Site</h2>
<ul>
<li><a href="index.html">Front Page</a></li>
<li><a href="manual.html">User Manual</a></li>
<li><a href="http://groups.google.com/group/codemirror">Google Group</a></li>
<li><a href="compress.html">Compression Helper</a></li>
<li><a href="story.html">War Story</a></li>
</ul>
</div></div>
<div style="height: 2em"> </div>
<script type="text/javascript" src="css/font.js"></script>
</body>
</html>