Trying to install updated packages to get the ShadEditor working. I hope.
This commit is contained in:
@@ -4,7 +4,7 @@ import { fade } from 'svelte/transition'
|
||||
import { cubicOut } from 'svelte/easing';
|
||||
|
||||
// import ShadEditor from '$lib/components/shad-editor/shad-editor.svelte';
|
||||
// import ShadEditor from 'shadcn-svelte';
|
||||
|
||||
|
||||
// Import Tiptap related modules
|
||||
import { Editor } from "@tiptap/core";
|
||||
@@ -85,28 +85,28 @@ let show_button_kv_defaults: any = {
|
||||
strike: true,
|
||||
code: true,
|
||||
|
||||
paragraph: true,
|
||||
paragraph: false,
|
||||
|
||||
heading__h1: true,
|
||||
heading__h2: true,
|
||||
heading__h3: true,
|
||||
heading__h1: false,
|
||||
heading__h2: false,
|
||||
heading__h3: false,
|
||||
heading__h4: false,
|
||||
heading__h5: false,
|
||||
heading__h6: false,
|
||||
|
||||
bulletList: true,
|
||||
orderedList: true,
|
||||
bulletList: false,
|
||||
orderedList: false,
|
||||
codeBlock: false,
|
||||
blockquote: false,
|
||||
horizontalRule: false,
|
||||
hardBreak: true,
|
||||
|
||||
link: true,
|
||||
link: false,
|
||||
unsetLink: true,
|
||||
|
||||
unsetAllMarks: true,
|
||||
undo: true,
|
||||
redo: true,
|
||||
redo: false,
|
||||
};
|
||||
export let show_button_kv: any;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user