You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -119,7 +119,7 @@ Right now, you can only add one plugin of each type (e.g. one SelectTokenCallbac
119
119
]));
120
120
</script>
121
121
<p>Start typing some HTML tags to see the autocomplete in action. You can click an autocomplete suggestion, or press the Tab key to select the first.</p>
@@ -197,12 +197,12 @@ Right now, you can only add one plugin of each type (e.g. one SelectTokenCallbac
197
197
]));
198
198
</script>
199
199
<p>When focused in the editor: Try Ctrl/Cmd+F, or click <button onclick="find();">this</button> to find. Try Ctrl+H, or click <button onclick="replace();">this</button> to replace.</p>
200
-
<code-input language="markdown"># Hickory dickory dock
200
+
<code-input language="markdown"><textarea data-code-input-fallback># Hickory dickory dock
201
201
Hickory dickory dock.
202
202
The mouse ran up the clock.
203
203
The clock struck one,
204
204
The mouse ran down,
205
-
Hickory dickory dock.</code-input>
205
+
Hickory dickory dock.</textarea></code-input>
206
206
<p><small>When setting the size of <code>code-input</code> elements with this plugin, make sure they are large enough to fit the dialog, at least 500px wide and 170px tall with the default styling. (If you are using the <code>Autogrow</code> plugin, this will be done for you as long as your <code>--code-input_autogrow_max-width</code> and <code>--code-input_autogrow_max-height</code> are large enough.) For technical reasons the dialog cannot overflow the editing area.</small></p>
<p>Try Ctrl+G when focused in the editor, or click <button onclick="goToLine()">this button</button></p>
249
-
<code-input class="line-numbers" language="markdown"># Hickory dickory dock
249
+
<code-input class="line-numbers" language="markdown"><textarea data-code-input-fallback># Hickory dickory dock
250
250
Hickory dickory dock.
251
251
The mouse ran up the clock.
252
252
The clock struck one,
253
253
The mouse ran down,
254
-
Hickory dickory dock.</code-input>
254
+
Hickory dickory dock.</textarea></code-input>
255
255
<p><small>When setting the size of <code>code-input</code> elements with this plugin, make sure they are large enough to fit the dialog, at least 300px wide and 150px tall with the default styling. (If you are using the <code>Autogrow</code> plugin, this will be done for you as long as your <code>--code-input_autogrow_max-width</code> and <code>--code-input_autogrow_max-height</code> are large enough.) For technical reasons the dialog cannot overflow the editing area.</small></p>
<p>Try selecting some code with a bracket. This is just one demo use of this very flexible plugin, which lets you use more features from your highlighter (here, Prism.js' match-braces plugin)!</p>
@@ -667,7 +667,7 @@ See https://github.com/WebCoder49/code-input/issues?q=is%3Aissue%20state%3Aopen%
667
667
]));
668
668
</script>
669
669
<p>Start typing code of any language. <strong>Detected language: <span id="language"></span></strong>. Inaccurate language detection should be reported to <a target="_blank" href="https://highlightjs.org">highlight.js</a>, not code-input-js.</p>
0 commit comments