Fold the whole content NoteContent nodes

(For some reason, we weren't returning the whole size of the NoteContent node 🤷)
This commit is contained in:
Jonatan Heyman 2025-06-09 14:08:31 +02:00
parent d34980456f
commit 82200da28d

View File

@ -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}
},
}),
],