[Bug]: TextSelection warning of HorizontalRule extension #3997
Labels
Category: Open Source
The issue or pull reuqest is related to the open source packages of Tiptap.
Info: Duplicate
The issue or pullrequest is a duplicate of another issue or pullrequest
Type: Bug
The issue or pullrequest is related to a bug
Which packages did you experience the bug in?
@tiptap/extension-horizontal-rule
What Tiptap version are you using?
2.0.3
What’s the bug you are facing?
Actually it is a copy of this issue #2846, but it was closed and the issue was not fixed, so I decided to recreate this issue. Try to click on button and open console, there will be a TextSelection warning. It is needed to refactor these lines of HorizontalRule extenstion
What browser are you using?
Chrome
Code example
https://codesandbox.io/s/focused-blackburn-7rl1q8?file=/src/App.js
What did you expect to happen?
No warning is displayed.
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: