mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
chore(monorepo/client): fix non-expected error
This commit is contained in:
parent
fe27eea5ba
commit
bc42038e01
@ -276,7 +276,7 @@ export default class EditableTextTypeWidget extends AbstractTextTypeWidget {
|
|||||||
editor.model.document.on("change:data", () => this.spacedUpdate.scheduleUpdate());
|
editor.model.document.on("change:data", () => this.spacedUpdate.scheduleUpdate());
|
||||||
|
|
||||||
if (glob.isDev && ENABLE_INSPECTOR) {
|
if (glob.isDev && ENABLE_INSPECTOR) {
|
||||||
//@ts-expect-error TODO: Check if this still works.
|
// TODO: Check if this still works.
|
||||||
await import(/* webpackIgnore: true */ "../../../libraries/ckeditor/inspector.js");
|
await import(/* webpackIgnore: true */ "../../../libraries/ckeditor/inspector.js");
|
||||||
CKEditorInspector.attach(editor);
|
CKEditorInspector.attach(editor);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user