mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
added "include note" widget to text notes, WIP
This commit is contained in:
@@ -61,7 +61,7 @@ class NoteDetailText {
|
||||
else {
|
||||
window.open(src, '_blank');
|
||||
}
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
async render() {
|
||||
@@ -94,6 +94,11 @@ class NoteDetailText {
|
||||
}
|
||||
});
|
||||
|
||||
if (glob.isDev) {
|
||||
await import('../../libraries/ckeditor/inspector.js');
|
||||
CKEditorInspector.attach(this.textEditor);
|
||||
}
|
||||
|
||||
this.onNoteChange(() => this.ctx.noteChanged());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user