This commit is contained in:
1 parent
41d67aebff
commit
4f7e3795c0
1 file changed
+4
@@ -19,6 +19,8 @@
|
|||||||
Strikethrough
|
Strikethrough
|
||||||
} from 'lucide-svelte';
|
} from 'lucide-svelte';
|
||||||
import { addToast } from '$lib/stores/toast.svelte';
|
import { addToast } from '$lib/stores/toast.svelte';
|
||||||
|
import { imagePreviewPlugin } from '$lib/editor/imagePreviewPlugin';
|
||||||
|
import { tableFormatterPlugin } from '$lib/editor/tableFormatterPlugin';
|
||||||
|
|
||||||
let {
|
let {
|
||||||
value = $bindable(''),
|
value = $bindable(''),
|
||||||
@@ -118,6 +120,8 @@
|
|||||||
base: markdownLanguage,
|
base: markdownLanguage,
|
||||||
codeLanguages: languages
|
codeLanguages: languages
|
||||||
}),
|
}),
|
||||||
|
imagePreviewPlugin,
|
||||||
|
tableFormatterPlugin,
|
||||||
customTheme,
|
customTheme,
|
||||||
EditorView.lineWrapping,
|
EditorView.lineWrapping,
|
||||||
EditorView.updateListener.of((update) => {
|
EditorView.updateListener.of((update) => {
|
||||||
|
|||||||
Reference in new issue
Block a user