From 82200da28d89bfaf676dc9759043a6cd9483a355 Mon Sep 17 00:00:00 2001 From: Jonatan Heyman Date: Mon, 9 Jun 2025 14:08:31 +0200 Subject: [PATCH] Fold the whole content NoteContent nodes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (For some reason, we weren't returning the whole size of the NoteContent node 🤷) --- src/editor/lang-heynote/heynote.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} }, }), ],