Alex-D / Trumbowyg

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

Problem to center text after delete chip #1273

Closed Fayrefiive closed 1 year ago

Fayrefiive commented 2 years ago

Hello,

I've a problem when i want to center text after deleting the list of chip. In the code i see the "text-align: center", but in visual the text stay left-align. The left and right align works, but center and justify doesn't work after deleting chip.

Description

OS: Windows 7, WIndows 10 Browser : Chrome, Firefox and Safari

How to reproduce?

-> Have a text center with a chip -> delete chip -> center text or justify -> Doesn't work in the rendering, but in the code I see the attributes

Best Regards for your job,

LAULY Téo

Alex-D commented 1 year ago

Cannot reproduce :/