New Discussion

Notifications

You’re not receiving notifications from this thread.

How can i Configure my Trix Editor / ActionText field?

2
General

Is there a way to add / delete buttons from the tool bar for action_text? For eg, I'd like to add more semantic header levels (h2-h4).

I made a start with this, adding h2, h3 and underline elements. I don't know if this is the right way to do it but:

https://stackoverflow.com/questions/58805984/add-buttons-to-rails-actiontext-toolbar/58807418#58807418

Had the same problem, your solution helped me a lot. Would be cool if there was a better way to edit the toolbar of trix.

Join the discussion
Create an account Log in

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.