Ask A Question


You’re not receiving notifications from this thread.

Adding a Highlight Button to Trix Discussion

Awesome! Would actually love to see more videos on extending Trix. I've been using Froala Editor for my production applications, because Trix felt like it was lacking a lot of core functionality. My use case was having an editor capable of writing emails with styles users were familiar with, such as Gmail and Outlook, and Trix simply didn't have what I needed and the docs to customize it seem a bit sparse. Features like image resizing, font/background colors, etc... I'd love to use the quasi-official Rails HTML editor, but it needs some work before it can compete with other rich editors IMO.


Strongly agree here. This short video is very helpful, and more would be appreciated.




Thanks for the feedback! If you want to take it even further, you can take a look at the Trix extensions for more ideas.


Thanks for the post, very helpful! In the future though, it would be great to get a link to the source code or some text instructions here.


We can get that linked up in the notes soon. Will report back once complete!


Hi Easton, I have uploaded the repository to Github, link is in the episode notes above and the relevant files are listed.


Adding to this, it would be nice if the initial rails app is a first commit and the episode specific changes a separate one.

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.