Trying to install updated packages to get the ShadEditor working. I hope.

This commit is contained in:
Scott Idem
2024-12-02 15:43:46 -05:00
parent b7515f0680
commit a0473cb50b
41 changed files with 3007 additions and 365 deletions

View File

@@ -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;