rails/actiontext/lib/generators/action_text/install
Jacob Herrington 78b4a776d0 Import actiontext.css when actiontext is installed
When a Rails app is generated with the --css option and the
action_text:install task is run, the Trix editor will not work as
expected. This occurs because using cssbundling-rails does not create an
application.css file, which would normally automatically require
actiontext.css.

Adding a step to append an import statement to the base CSS or SCSS
file, when one can be detected, solves the issue. In the case a base CSS
or SCSS file can't be detected, we output a warning to import the
necessary CSS file.
2021-10-13 16:23:04 -05:00
..
templates Remove default reliance on Sass and CSS generators (#43110) 2021-08-26 13:40:25 +02:00
install_generator.rb Import actiontext.css when actiontext is installed 2021-10-13 16:23:04 -05:00