All threads / How can i Configure my Trix Editor / ActionText field?

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

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

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

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

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2021 GoRails, LLC. All rights reserved.