trix-extensions
trix-extensions copied to clipboard
Add text alignment
Thank you very much for making this repo available to others!
This PR adds left, center and right text alignment.
Feel free to make any changes you deem necessary.
Found an issue :(
When I save it looks correct
Stored in DB
<h1><div style="text-align: center;">Headline</div></h1>
but when Trix loads after saving this is the result
<h1><div style="text-align: right;"><div><div>Headline</div></div></div></h1>
updated the last comment to show code
On the commit I listed evaicons - the icons are actually from https://material.io/resources/icons/?style=baseline