Skip to content

Verify CodeMirror removal from playground editor is complete#26480

Closed
Copilot wants to merge 1 commit into
mainfrom
copilot/fix-playground-editor-duplicate-codemirror-state
Closed

Verify CodeMirror removal from playground editor is complete#26480
Copilot wants to merge 1 commit into
mainfrom
copilot/fix-playground-editor-duplicate-codemirror-state

Conversation

Copilot AI commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

The playground editor at docs/public/editor/ was failing indefinitely due to duplicate @codemirror/state instances loaded via conflicting esm.sh version pins.

The fix was already applied to main in PR #25387 (commit db819537b). This PR confirms the removal is complete — no codemirror or esm.sh references remain in docs/public/editor/:

  • editor.js — removed all codemirror@6.0.2 / @codemirror/state@6.5.4 / @codemirror/view@6.39.14 imports; input is now a native <textarea>
  • hover-tooltips.js — rewritten as dependency-free; positions tooltips using monospace font metrics on the textarea
  • index.html — output rendered via native <pre><code>; no CodeMirror script bundles loaded

Copilot AI changed the title [WIP] Fix playground editor: resolve duplicate @codemirror/state versions Verify CodeMirror removal from playground editor is complete Apr 15, 2026
Copilot AI requested a review from pelikhan April 15, 2026 18:49
@pelikhan pelikhan closed this Apr 15, 2026
@github-actions github-actions Bot deleted the copilot/fix-playground-editor-duplicate-codemirror-state branch April 23, 2026 02:59
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.

[deep-report] Fix playground editor: duplicate @codemirror/state versions causing infinite loading

2 participants