tiptap/packages/tiptap-utils/src
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
..
utils fix endPosition in getMarkRange 2019-05-03 19:08:50 +02:00
index.js improve link handling 2018-11-14 15:55:13 +01:00