[Bug]: startOfLine
should respect starting in a mark
#4330
Labels
Category: Open Source
The issue or pull reuqest is related to the open source packages of Tiptap.
Type: Bug
The issue or pullrequest is related to a bug
Which packages did you experience the bug in?
suggestion
What Tiptap version are you using?
2.0.4
What’s the bug you are facing?
The
startOfLine
attribute in the suggestion package does not account for nodes that are wrapped in a mark. It takes the beginning of the mark as the beginning of the lineSteps to reproduce:
What browser are you using?
Chrome
Code example
https://codesandbox.io/s/peaceful-bush-3zpcx6
What did you expect to happen?
The entire wrapping text is included, not just the text in the mark
Anything to add? (optional)
No response
Did you update your dependencies?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: