Skip to content

Build your personal knowledge base with Trilium Notes

fix(includenote): not being able to copy from the included note

Elian Dorane3032812073f
diff --git a/packages/ckeditor5-build-trilium/src/includenote.js b/packages/ckeditor5-build-trilium/src/includenote.js
index 452af84d4a..72a465c475 100644
--- a/packages/ckeditor5-build-trilium/src/includenote.js
+++ b/packages/ckeditor5-build-trilium/src/includenote.js
@@ -113,7 +113,8 @@ class IncludeNoteEditing extends Plugin {
} );
const includedNoteWrapper = viewWriter.createUIElement( 'div', {
- class: 'include-note-wrapper'
+ class: 'include-note-wrapper',
+ "data-cke-ignore-events": true
}, function( domDocument ) {
const domElement = this.toDomElement( domDocument );