Private
Public Access
1
0

重构: 死代码清理 + 拷贝优化 + 滚动条修复

This commit is contained in:
2026-04-11 23:36:08 +08:00
parent 7dbd57a8b6
commit 756028af0f
39 changed files with 185 additions and 1308 deletions

View File

@@ -4,10 +4,10 @@
*/
// Core
export { EditorView, lineNumbers, highlightActiveLineGutter, keymap, drawSelection, dropCursor } from '@codemirror/view'
export { EditorState, Compartment, Facet, StateEffect, StateField } from '@codemirror/state'
export { EditorView, lineNumbers, highlightActiveLineGutter, keymap } from '@codemirror/view'
export { EditorState, Compartment } from '@codemirror/state'
export { defaultKeymap, history, historyKeymap } from '@codemirror/commands'
export { bracketMatching, defaultHighlightStyle, syntaxHighlighting, StreamLanguage } from '@codemirror/language'
export { bracketMatching, defaultHighlightStyle, syntaxHighlighting } from '@codemirror/language'
export { oneDark } from '@codemirror/theme-one-dark'
// 语言包通过 codeMirrorLoader 动态导入,避免全量打包