trix-extensions icon indicating copy to clipboard operation
trix-extensions copied to clipboard

Add text alignment

Open petebytes opened this issue 4 years ago • 3 comments

Thank you very much for making this repo available to others!

This PR adds left, center and right text alignment. image

Feel free to make any changes you deem necessary.

petebytes avatar Jun 18 '20 14:06 petebytes

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>

petebytes avatar Jun 18 '20 15:06 petebytes

updated the last comment to show code

petebytes avatar Jun 18 '20 15:06 petebytes

On the commit I listed evaicons - the icons are actually from https://material.io/resources/icons/?style=baseline

petebytes avatar Jun 18 '20 15:06 petebytes