ueberdosis / tiptap

The headless rich text editor framework for web artisans.
https://tiptap.dev
MIT License
26.6k stars 2.23k forks source link

Multiple Marks can not be removed #3336

Open ashu12chi opened 1 year ago

ashu12chi commented 1 year ago

What’s the bug you are facing?

When we have more than one Mark applied to a certain text then we are not able to remove them. In the following GIF, bold and italics are applied on the okay, and when we try to remove both, they are toggling alternatively. Animation

Which browser was this experienced in? Are any special extensions installed?

In all browsers

How can we reproduce the bug on our side?

It is visible here: https://tiptap.dev/examples/default

Can you provide a CodeSandbox?

Not required

What did you expect to happen?

We should be able to remove all Marks present on a text.

Anything to add? (optional)

No response

Did you update your dependencies?

Are you sponsoring us?

littersnaker commented 1 year ago

I try to change the removeMarks source code of prosemirror-transform, but I don’t know what follow-up problems will be caused by changing this paragraph
image