mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-24 03:39:01 +08:00
https://github.com/ueberdosis/tiptap/issues/4785
This commit is contained in:
parent
adc99c6367
commit
f3cba1e0b0
@ -26,7 +26,7 @@ export function getMarksBetween(from: number, to: number, doc: ProseMirrorNode):
|
||||
})
|
||||
} else {
|
||||
doc.nodesBetween(from, to, (node, pos) => {
|
||||
if (!node || node.nodeSize === undefined) {
|
||||
if (!node || node?.nodeSize === undefined) {
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user