Closed alex-ketch closed 2 years ago
This PR fixes the mismatch between CodeMirror dependencies, and updates the Editor component to persist the Selection/cursor positions when updating state with new content. This leads to better UX as the cursor does not jump around under the user.
This PR fixes the mismatch between CodeMirror dependencies, and updates the Editor component to persist the Selection/cursor positions when updating state with new content. This leads to better UX as the cursor does not jump around under the user.