Alex-D / Trumbowyg

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

Problem when changing semantic 'strike': 'del' #1360

Closed Pierrem44 closed 1 year ago

Pierrem44 commented 1 year ago

I have a problem when changing the semantic 'strike': 'del', to 'strike': 'strike'

I was having a problem with the semantic 'strike':'del' because I where not able to remove the tag when it was placed. I changed to 'strike': 'strike' and it works fine but my button is not detecting anymore that i selected a crossed out text element, it only detect if there is a 'del' tag that i'm not using anymore.

image

I'm using firefox 102.6.0esr

To reproduce you just have to change the semantic with 'strike':'strike'

Alex-D commented 1 year ago

Use strikethrough button instead of del button.

Pierrem44 commented 1 year ago

thank you, this is working