This commit is contained in:
2024-11-24 22:57:21 +01:00
parent bbf13cf203
commit 72933a46d1
48 changed files with 752 additions and 450 deletions

View File

@@ -22,10 +22,14 @@
import EasyMDE from "easymde";
import "easymde/dist/easymde.min.css";
export let value: string;
export let dirty: boolean = false;
interface Props {
value: string;
dirty?: boolean;
}
let editor: HTMLTextAreaElement;
let { value = $bindable(), dirty = $bindable(false) }: Props = $props();
let editor: HTMLTextAreaElement = $state();
let mde: EasyMDE;
onMount(async () => {