Revert: Remove remaining codemirror-toolbar imports and extensions from e_app_codemirror_v5.svelte.
This commit is contained in:
@@ -44,7 +44,7 @@ import { markdown, markdownLanguage } from '@codemirror/lang-markdown';
|
|||||||
// import { html } from '@codemirror/lang-html';
|
// import { html } from '@codemirror/lang-html';
|
||||||
import { oneDark } from "@codemirror/theme-one-dark";
|
import { oneDark } from "@codemirror/theme-one-dark";
|
||||||
|
|
||||||
import toolbar, { markdownItems } from 'codemirror-toolbar';
|
|
||||||
|
|
||||||
// Props
|
// Props
|
||||||
export let content: string = 'test test test test';
|
export let content: string = 'test test test test';
|
||||||
@@ -163,9 +163,6 @@ $: editor_extensions = [
|
|||||||
// css(),
|
// css(),
|
||||||
// html(),
|
// html(),
|
||||||
theme,
|
theme,
|
||||||
toolbar({
|
|
||||||
items: markdownItems,
|
|
||||||
}),
|
|
||||||
|
|
||||||
...extensions
|
...extensions
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user