ActionText / Trix Editor
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.
https://github.com/rails/rails/issues/43441