Adding a Highlight Button to Trix

June 12, 2023

Track your progress

Sign in to track your progress and access subscription-only lessons.

Log In

Your Teacher

Kent Crutchfield

Hi, my name is Kent and in between answering Hatchbox support tickets I like to make videos.

About This Episode

In this episode, we will extend Trix by adding a text highlighting feature.

Notes

Source code for the video

#These are the relevant files for this episode:

app/assets/stylesheets/actiontext.css
app/javascript/application.js
app/config/initializers/action_text.rb

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

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

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