We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68d004c commit ec8c9dcCopy full SHA for ec8c9dc
manual.html
@@ -75,7 +75,7 @@ <h2 id="usage">Basic Usage</h2>
75
textarea with a real editor:</p>
76
77
<pre>var myCodeMirror = CodeMirror(function(elt) {
78
- myTextArea.parentNode.replaceChild(myTextArea, elt);
+ myTextArea.parentNode.replaceChild(elt, myTextArea);
79
}, {value: myTextArea.value});</pre>
80
81
<p>However, for this use case, which is a common way to use
0 commit comments