[Bug]: TipTap toggleMark diverges from the behavior of ProseMirror's #6130
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
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
The text was updated successfully, but these errors were encountered: