You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You'd have to add your custom text attribute after Trix boots (like this and this)
Then, you'd have to either add your own toolbar or hook into the Trix initialization process (like this) and insert your new button into the text attributes (like this). I'd recommend using the <u> tag for that (mdn docs), but you need to style as underline via CSS to ensure all browsers render it the same way.
I'll cover this as a blog post soon, it's a nice example. Thanks!
Would is be possible to request underline button for this text editor?
Thanks
The text was updated successfully, but these errors were encountered: