|
@@ -2,10 +2,10 @@ import { useMemo } from 'react';
|
|
|
|
|
|
|
|
import { indentWithTab, defaultKeymap } from '@codemirror/commands';
|
|
import { indentWithTab, defaultKeymap } from '@codemirror/commands';
|
|
|
import {
|
|
import {
|
|
|
- markdown, markdownLanguage,
|
|
|
|
|
|
|
+ markdown, markdownLanguage, deleteMarkupBackward,
|
|
|
} from '@codemirror/lang-markdown';
|
|
} from '@codemirror/lang-markdown';
|
|
|
import { syntaxHighlighting, HighlightStyle, defaultHighlightStyle } from '@codemirror/language';
|
|
import { syntaxHighlighting, HighlightStyle, defaultHighlightStyle } from '@codemirror/language';
|
|
|
-import { languages, deleteMarkupBackward } from '@codemirror/language-data';
|
|
|
|
|
|
|
+import { languages } from '@codemirror/language-data';
|
|
|
import {
|
|
import {
|
|
|
EditorState, Prec, type Extension,
|
|
EditorState, Prec, type Extension,
|
|
|
} from '@codemirror/state';
|
|
} from '@codemirror/state';
|