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

Corrupt styling when editing text #1265

Closed CarlAtIssl closed 1 year ago

CarlAtIssl commented 2 years ago

Description

If you create some text 👎 Outside there is a block paved garden to the front and to the rear is the yard.

Entrance Hall

Then, highlight "Entrance Hall", make it bold Place your cursor before the E and press delete until your cursor is at the "yard." Press the </> button, there is a spurious: <b style="font-size: 1.6rem;">Entrance Hall</b>

This has got to be a bug????

Alex-D commented 1 year ago

I cannot reproduce anymore :)