-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
Area:EditorFor CodeMirror-related featuresFor CodeMirror-related featuresBugError or unexpected behaviorsError or unexpected behaviorsReady for WorkIssue is ready for development workIssue is ready for development work
Description
Notes
This issue is part of the ongoing work to upgrade CodeMirror from v5 to v6 (see the parent issue for additional context). This also references the develop-codemirror-v6 branch for development, and not the main develop branch.
You can also gain a better understanding of how CodeMirror v6 works by referring to their Reference Manual.
Background and Implementation
In the current p5.js editor, when a user edits an HTML tag the opening and closing tags would be automatically updated to match. This behavior is missing in the CodeMirror v6 branch.
We probably want to update the portion around line 357 in the stateUtils.js file to implement the automatic tag renaming.
Suggestions to Start
- Check if CodeMirror v6 or Emmet potentially provides a helper extension to handle this.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area:EditorFor CodeMirror-related featuresFor CodeMirror-related featuresBugError or unexpected behaviorsError or unexpected behaviorsReady for WorkIssue is ready for development workIssue is ready for development work