tiptap/packages
Marius Tolzmann 9787b876fe fix endPosition in getMarkRange
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
2019-05-03 19:08:50 +02:00
..
tiptap Publish 2019-04-30 20:16:04 +02:00
tiptap-commands Publish 2019-04-30 20:16:04 +02:00
tiptap-extensions Publish 2019-04-30 20:16:04 +02:00
tiptap-utils fix endPosition in getMarkRange 2019-05-03 19:08:50 +02:00