mirror of
https://github.com/TriliumNext/Trilium.git
synced 2025-12-11 05:45:26 -06: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';
|