mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 06:15:48 +01:00
fix(ckeditor5): reintroduce block handle for floating editor
This commit is contained in:
@@ -1,3 +1,22 @@
|
||||
import "ckeditor5/ckeditor5.css";
|
||||
export { EditorWatchdog, BalloonEditor, DecoupledEditor } from "ckeditor5";
|
||||
export * from "./plugins.js";
|
||||
import { COMMON_PLUGINS, POPUP_EDITOR_PLUGINS } from "./plugins";
|
||||
import { BalloonEditor, DecoupledEditor } from "ckeditor5";
|
||||
export { EditorWatchdog } from "ckeditor5";
|
||||
|
||||
export class AttributeEditor extends BalloonEditor {
|
||||
static override get builtinPlugins() {
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
||||
export class ClassicEditor extends DecoupledEditor {
|
||||
static override get builtinPlugins() {
|
||||
return COMMON_PLUGINS;
|
||||
}
|
||||
}
|
||||
|
||||
export class PopupEditor extends BalloonEditor {
|
||||
static override get builtinPlugins() {
|
||||
return POPUP_EDITOR_PLUGINS;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user