Closed faltjo closed 1 year ago
It seems to be fixing https://github.com/ueberdosis/tiptap-php/issues/33 for me. Would be great to see it merged.
Hey @faltjo, thanks for the PR. I will have a look as soon as possible. Need some time to take care of it though.
Thank you @timoisik
Thanks @faltjo for fix, and @timoisik for merging!
This solves the issue with misaligned tags for overlapping marks, see https://github.com/ueberdosis/tiptap-php/issues/33
In order to preserve the correct order when closing and reopening html tags, a stack is used to track all currently open mark tags.