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]: TipTap toggleMark diverges from the behavior of ProseMirror's #6130

Open
1 task done
Nantris opened this issue Feb 26, 2025 · 0 comments
Open
1 task done

[Bug]: TipTap toggleMark diverges from the behavior of ProseMirror's #6130

Nantris opened this issue Feb 26, 2025 · 0 comments
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

Comments

@Nantris
Copy link
Contributor

Nantris commented Feb 26, 2025

Affected Packages

core

Version(s)

2.11.5

Bug Description

I noticed that ProseMirror makes the deliberate decision not to mark leading/trailing whitespace, but TipTap doesn't use this approach - by choice or by accident I'm unsure, but I'm this behavior was just lost in translation?

Browser Used

Chrome

Code Example URL

https://prosemirror.net/

Expected Behavior

See this thread: https://discuss.prosemirror.net/t/blank-spaces-at-the-end-of-a-line-have-no-marks/8222/3

You can see the behavior in the ProseMirror demo: https://prosemirror.net/

Additional Context (Optional)

I believe this behavior is objectively better as a default, but should at least be an option.

Dependency Updates

  • Yes, I've updated all my dependencies.
@Nantris Nantris added 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 labels Feb 26, 2025
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. Type: Bug The issue or pullrequest is related to a bug
Projects
None yet
Development

No branches or pull requests

1 participant