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
Codemirror 6, very basic setup with python highlighting.
Everything works fine, unless the first line is blank or a comment.
If the first line is a comment, that line is highlighted, but the rest of the text is rendered plain.
If the first line is blank, none of the text gets highlighted.
Browser and platform
No response
Reproduction link
No response
The text was updated successfully, but these errors were encountered:
Ok. I'm not using the module method. I have a bundle.js that I built following the steps in codemirror-quickstart [https://github.com/RPGillespie6/codemirror-quickstart].
Maybe I need to learn how to use the module method.
I just copied the editor.js from the bundle building instructions and changed the one thing (javascript for python) and added a bit at the bottom to display the editor in the document.body for Try.
Unfortunately (or fortunately) comments are working fine in the Try Codemirror.
Any hints as to why it would not work the same when the bundle is loaded into my app?
Describe the issue
Codemirror 6, very basic setup with python highlighting.
Everything works fine, unless the first line is blank or a comment.
If the first line is a comment, that line is highlighted, but the rest of the text is rendered plain.
If the first line is blank, none of the text gets highlighted.
Browser and platform
No response
Reproduction link
No response
The text was updated successfully, but these errors were encountered: