Repository navigation
Experiment/cm6 - #1
Open
servitantgit wants to merge 2 commits into
Open
servitantgit wants to merge 2 commits into
servitantgit wants to merge 2 commits into
Conversation
Introduce a new CodeMirror 6 (CM6) editor engine as an experimental feature, accessible via the `?editor=cm6` URL parameter. This implementation moves away from the previous approach of overlaying CM6 on the classic editor and instead uses a dedicated host element that is only injected into the DOM when the experiment is explicitly requested. Key changes: - Added `editor-engine.js` to handle engine detection and URL parsing. - Added `editor-cm6.js` to manage the lifecycle and initialization of the CM6 instance. - Modified `app.js` to conditionally load the CM6 engine and its dependencies asynchronously. - Updated CSS to provide a dedicated layout for the CM6 host and an experimental status banner. - Added logic to disable classic editor features (minimap, scroll-sync, link-suggest) when the CM6 engine is active to prevent conflicts. - Created `cm6.html` as a standalone entry point for the experiment.
… experiment/cm6
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.