We’re using TipTap and I implemented a custom NodeView
for the taskItem
s. Strangely, when we call the getPos()
that is available in that context, it seems to give us the position of the taskList
(parent) instead of for the taskItem
.
It’s simple enough to add one to get our proper position, but I think this points to some misunderstanding on my part.
I wondered if anyone could clarify why getPos
points to an item different from the node for the current NodeView
?