Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Extra line added when horizontal rule is inserted using --- #4180

Open
2 tasks done
ashu12chi opened this issue Jul 5, 2023 · 0 comments
Open
2 tasks done
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

Comments

@ashu12chi
Copy link

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:
Animation

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?

  • Yes, I’ve updated my dependencies to use the latest version of all packages.

Are you sponsoring us?

  • Yes, I’m a sponsor. 💖
@ashu12chi ashu12chi added 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 labels Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
Status: Triage open
Development

No branches or pull requests

3 participants