All threads / ActionText / Trix Editor
Ask A Question


You’re not receiving notifications from this thread.

ActionText / Trix Editor

Mountaindog asked in Rails

I'm working on upgrading an app from Rails 6.1.x to 7.0.1 with esBuild for JS. I am having trouble getting ActionText, in particular the Trix editor toolbar, to work correctly when running in production environment? What's odd, if I add this:
@import 'trix/dist/trix.css'; to application.bootstrap.scss it works when in development using bin/dev but not in production.

I found this issue on GitHub, which is more or less the same. Wondering if anyone else has experienced this as well.

Join the discussion

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

Join 70,078+ 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.

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

    © 2023 GoRails, LLC. All rights reserved.