feat: migration to Svelte 5
This commit is contained in:
@@ -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}">
|
||||
|
||||
Reference in New Issue
Block a user