Use codemirror 6.0 and vue-codemirror6.11 to set the class name for the specified character on the specified line #209
Unanswered
Yuppiezero
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the issue
I am using version 6.1.1 of vue-codemirror、version 6.21.2 of @codemirror/view、version 6.2.1 of @codemirror/state, @blur Set the class name for the third to fifth characters on the seventh line of the view , But I have tried many methods and failed to get the correct results. Please provide a sample code to help me use it correctly
I have tried many solutions, but they are all mixed versions of 5.0 and 6.0, Bugs such as addMark、deco.addTo is not a function may appear
Here is the code I wrote, I hope it can help me provide a correct example that I can refer to
Beta Was this translation helpful? Give feedback.
All reactions