mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-16 03:39:00 +08:00
9787b876fe
getMarkRange() will not return the actual end position of the current mark. might reintroduce bug from #156 (i cannot reproduce #156 so i cannot check) fixes in this commit: A) work around a possible bug in indexAfter()?: $pos.indexAfter() seems to return the same index as $pos.index() at some point -> fixed by increasing startIndex by 1 instead of using indexAfter() B) endPos needs to be initialized with initial startPos + nodeSize and not with resulting startPos: -> moved initialization right after setting startPos |
||
---|---|---|
.. | ||
utils | ||
index.js |