diff --git a/src/lib/app_components/e_app_codemirror_v5.svelte b/src/lib/app_components/e_app_codemirror_v5.svelte index 0582b42c..3e194d1e 100644 --- a/src/lib/app_components/e_app_codemirror_v5.svelte +++ b/src/lib/app_components/e_app_codemirror_v5.svelte @@ -13,6 +13,7 @@ // Props content?: string; new_content?: string; + editorView?: any; // Added to interface // export let language: Extension = markdown(); // javascript() theme_mode?: string; // 'dark' | 'light' extensions?: any[]; // Changed to any[] because Extension type is not directly available here @@ -43,7 +44,7 @@ }: Props = $props(); let editor_element: HTMLDivElement = $state(); - let editorView: any = $state(); // Changed to any + // let editorView: any = $state(); // Removed redundant declaration let cm_modules: any = $state(); // To hold the dynamically loaded CodeMirror modules let editor_extensions: any[] = $state([]);