Skip to content
Snippets Groups Projects
Commit 83a624d9 authored by Marijn Haverbeke's avatar Marijn Haverbeke
Browse files

[bidi demo] Turn off line wrapping, add note about bug

parent d37ac038
No related branches found
No related tags found
No related merge requests found
...@@ -58,8 +58,7 @@ ...@@ -58,8 +58,7 @@
<script> <script>
var editor = CodeMirror.fromTextArea(document.getElementById("code"), { var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
mode: "text/html", mode: "text/html",
lineNumbers: true, lineNumbers: true
lineWrapping: true
}); });
</script> </script>
...@@ -67,4 +66,9 @@ var editor = CodeMirror.fromTextArea(document.getElementById("code"), { ...@@ -67,4 +66,9 @@ var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
the <a href="http://marijnhaverbeke.nl/blog/cursor-in-bidi-text.html">related the <a href="http://marijnhaverbeke.nl/blog/cursor-in-bidi-text.html">related
blog post</a> for more background.</p> blog post</a> for more background.</p>
</article> <p><strong>Note:</strong> There is
a <a href="https://github.com/marijnh/CodeMirror/issues/1757">known
bug</a> with cursor motion and mouse clicks in bi-directional lines
that are line wrapped.</p>
</article>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment