Alex-D / Trumbowyg

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

"Strikethrough" button of text-editor is not working properly #1322

Closed farhank31 closed 1 year ago

farhank31 commented 1 year ago

When we select a particular word and add a strikethrough to that word it's get added and without removing the selection if we again click on the strikethrough button then its get removed but when the cursor is moved or the selection from the highlighted word is removed and if we again try to select the same word and click on the strikethrough button the word remains unchanged and the cursor is moved to the end of that word and the word remains deleted.

Description

How to reproduce?

Alex-D commented 1 year ago

Known issue, its a browser-level bug :(