mirror of
https://github.com/heyman/heynote.git
synced 2025-06-27 21:12:00 +02:00
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:
parent
d34980456f
commit
82200da28d
@ -26,7 +26,7 @@ export const HeynoteLanguage = LRLanguage.define({
|
|||||||
//NoteContent: foldNode,
|
//NoteContent: foldNode,
|
||||||
//NoteContent: foldInside,
|
//NoteContent: foldInside,
|
||||||
NoteContent(node) {
|
NoteContent(node) {
|
||||||
return {from:node.from, to:node.to-1}
|
return {from:node.from, to:node.to}
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user