diff --git a/src/lib/EditorContent.svelte b/src/lib/EditorContent.svelte index cc805a3..dbc0b48 100644 --- a/src/lib/EditorContent.svelte +++ b/src/lib/EditorContent.svelte @@ -4,7 +4,7 @@ type Props = ComponentInputProps<{}>; - const { editor, children }: Props = $props(); + const { editor, children, class: className }: Props = $props(); let element: HTMLElement; const init = async () => { @@ -49,7 +49,7 @@ }); -
+
{#if children} {@render children()}