Skip to content

bump codemirror to 6#12758

Draft
megayu wants to merge 5 commits into
masterfrom
refactor/codemirror-upgrade
Draft

bump codemirror to 6#12758
megayu wants to merge 5 commits into
masterfrom
refactor/codemirror-upgrade

Conversation

@megayu
Copy link
Copy Markdown
Collaborator

@megayu megayu commented Jun 1, 2026

No description provided.

megayu added 5 commits June 1, 2026 21:43
- add scoped CodeMirror 6 dependencies while keeping CM5 during migration
- add CM6 language registry and versioned enhancer API contract
- add CM6 EditorView context skeleton and SDK enhancer types
- add focused tests for registry and API boundaries
- load the CM6 editor from lazy-editor for main code paths
- save and focus code editors through CM6 context APIs
- replace CodeMirror mode lookups with the language registry
- update plugin settings JSON editing to use CM6 get/set value
- add tests for CM6 offset conversion and save baseline handling
- move code editor APIs and registry under frontend.extensions.code
- remove CodeMirror 5 dependency and legacy CSS
- update editor, plugin, calc, and PDF scroll integration for the CM6 path
- switch Clojure support to lezer-clojure with Logseq tag mapping
- refine code block controls, popup visibility, scrollbars, and calc result layout
- add coverage for fenced code content replacement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant