Alex-D / Trumbowyg

A lightweight and amazing WYSIWYG JavaScript editor under 10kB
https://alex-d.github.io/Trumbowyg
MIT License
3.99k stars 612 forks source link

Button B toggle not working and Undo/Redo on a selected word mess the content #1281

Open tadcos opened 2 years ago

tadcos commented 2 years ago

Using v2.25.1 First issue detected:

Thanks for for work

AnthonyZink commented 2 years ago

Any update on this ? Would be great to fix it !

Tarpsvo commented 1 year ago

We are also experiencing this issue. This is a video of what happens when running undo on a piece of text that was just made bold.

https://d.pr/v/lIgxeX

Alex-D commented 1 year ago

Did you use the history plugin?

Tarpsvo commented 1 year ago

Heya @Alex-D! I am not using the history plugin.

Alex-D commented 1 year ago

Could you try it?

robsav75 commented 9 months ago

I tried adding the ['historyUndo', 'historyRedo'] buttons of the history plugin and it worked. I also noticed that if I switch the "semantic" configuration from "true" to "false" (Chrome), this problem also disappears. So, either you use the history plugin or you switch “semantic” to false.