forked from codemirror/CodeMirror-v1
-
Notifications
You must be signed in to change notification settings - Fork 1
/
faq.html
54 lines (43 loc) · 2.17 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
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CodeMirror: Frequently Asked Questions</title>
<link rel="stylesheet" type="text/css" href="css/docs.css"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<style type="text/css">
h3 {font-size: 100%;}
</style>
</head>
<body>
<div class="top underline" style="text-align: center">
<h1 style="margin-bottom: 0;"><a href="index.html" style="text-decoration: none; color: black;">CodeMirror</a></h1>
<h2 style="margin-top: 0; margin-bottom: .3em;">Frequently Asked Questions</h2>
</div>
<h3 id="license">Q: Can I use CodeMirror in my such-and-such project?</h3>
<p>A: Yes. The <a href="LICENSE">license</a> is short, simple, and
permissive.</p>
<h3 id="cache">Q: You said you fixed this-and-this issue, but I'm
still seeing it.</h3>
<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>
<h3 id="textarea">Q: I can't put content containing
<code></textarea></code> into CodeMirror!</h3>
<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>
<h3 id="debug">Q: I have this huge chunk of code that does not
work, can you debug it for me?</h3>
<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>
<h3 id="patch">Q: How do I submit patches for CodeMirror?</h3>
<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>
</body>
</html>