feat: migration to Svelte 5

This commit is contained in:
Scott Idem
2025-11-19 12:38:03 -05:00
parent d99e9ee1b0
commit f25b9ccd8f
46 changed files with 9578 additions and 9095 deletions

View File

@@ -2,9 +2,13 @@
import ElementCodemirrorEditor from './element_codemirror_editor.svelte';
import { browser } from '$app/environment';
export let html_text: string = '';
export let placeholder: string = 'Type your text here...';
export let classes: string = '';
interface Props {
html_text?: string;
placeholder?: string;
classes?: string;
}
let { html_text = $bindable(''), placeholder = 'Type your text here...', classes = '' }: Props = $props();
</script>
<div class="block w-full h-full {classes}">