diff --git a/src/editor/lang-heynote/heynote.js b/src/editor/lang-heynote/heynote.js index bd7bdd6..7ee9c66 100644 --- a/src/editor/lang-heynote/heynote.js +++ b/src/editor/lang-heynote/heynote.js @@ -26,7 +26,7 @@ export const HeynoteLanguage = LRLanguage.define({ //NoteContent: foldNode, //NoteContent: foldInside, NoteContent(node) { - return {from:node.from, to:node.to-1} + return {from:node.from, to:node.to} }, }), ],