mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 05:15:59 +01:00
Fixed the issue where multiple becca instances were being created due to inconsistent module import paths. The solution was to export becca from becca_loader and access it from there, ensuring a single instance is used throughout the build process. Co-authored-by: eliandoran <21236836+eliandoran@users.noreply.github.com>
8 lines
156 B
TypeScript
8 lines
156 B
TypeScript
declare global {
|
|
interface Window {
|
|
editor: ClassicEditor;
|
|
}
|
|
}
|
|
import { ClassicEditor } from 'ckeditor5';
|
|
import 'ckeditor5/ckeditor5.css';
|