Ask A Question


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).


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:


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

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

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

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

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

    © 2023 GoRails, LLC. All rights reserved.