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
I have implemented a simple code editor for my chrome extension. Basically, I am embedding a code editor into a DOM that will sync the value into another editor element.
Issue
When I am typing at the end of the line, the cursor position is not working properly.
Initial String (cursor position is at the end of the line) Typed the letter "c" (cursor position issue) Typed the letter "e"
Possible solution
I have found a discussion regarding this in the official CodeMirror Discuss Forum . It is actually solved by marijin. I'm just not sure how to apply it in here. Maybe update the @codemirror/view version into 6.35.2?
Background
I have implemented a simple code editor for my chrome extension. Basically, I am embedding a code editor into a DOM that will sync the value into another editor element.
Issue
When I am typing at the end of the line, the cursor position is not working properly.
Initial String (cursor position is at the end of the line)
Typed the letter "c" (cursor position issue)
Typed the letter "e"
Possible solution
I have found a discussion regarding this in the official CodeMirror Discuss Forum . It is actually solved by marijin. I'm just not sure how to apply it in here. Maybe update the
@codemirror/view
version into6.35.2
?I you want to see my code, here's my github repo
The text was updated successfully, but these errors were encountered: