|
|
|
@ -8,7 +8,11 @@ import { |
|
|
|
lineNumbers, highlightActiveLineGutter, |
|
|
|
EditorView |
|
|
|
} from '@codemirror/view' |
|
|
|
import {EditorState} from '@codemirror/state' |
|
|
|
import { |
|
|
|
EditorState, |
|
|
|
Compartment, |
|
|
|
StateEffect |
|
|
|
} from '@codemirror/state' |
|
|
|
import { |
|
|
|
defaultHighlightStyle, |
|
|
|
syntaxHighlighting, |
|
|
|
@ -47,6 +51,8 @@ window.CodeMirrorBasic = { |
|
|
|
EditorView, |
|
|
|
// @codemirror/state
|
|
|
|
EditorState, |
|
|
|
Compartment, |
|
|
|
StateEffect, |
|
|
|
// @codemirror/language
|
|
|
|
defaultHighlightStyle, |
|
|
|
syntaxHighlighting, |
|
|
|
|