Ask A Question

Notifications

You’re not receiving notifications from this thread.

How can i Configure my Trix Editor / ActionText field?

will asked in 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).

Reply

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

Reply

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.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 83,038+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.