[Bug]: Extra line added when horizontal rule is inserted using ---
#4180
Labels
Category: Open Source
The issue or pull reuqest is related to the open source packages of Tiptap.
Triage: Open
A new issue or pullrequest that requires triage (added by default)
Type: Bug
The issue or pullrequest is related to a bug
Which packages did you experience the bug in?
extension-horizontal-rule
What Tiptap version are you using?
2.0.3
What’s the bug you are facing?
---
can be used as a quick shortcut to insert a horizontal rule. This shortcut will work when typing three dashes at the start of a new line. The issue is when a horizontal rule is inserted using this method, an extra line is also added which needs to be removed manually. Refer to below GIF:What browser are you using?
Chrome
Code example
NA, directly reproducible at https://tiptap.dev/api/nodes/horizontal-rule
What did you expect to happen?
The horizontal rule should be added immediately below the
First Line
.Anything to add? (optional)
NA
Did you update your dependencies?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: