-
Installs the JavaScript packages for trix and @rails/actiontext and adds them to the application.js.
-
Adds the image_processing gem for analysis and transformations of the embedded images and other attachments with Active Storage. Please refer to the Active Storage Overview guide for more information about it.
-
Adds migrations to create the following tables that store rich text content and attachments: action_text_rich_texts, active_storage_blobs, active_storage_attachments, active_storage_variant_records.
-
Creates actiontext.css which includes all Trix styles and overrides.
-
Adds the default view partials
_content.html
and_blob.html
to render Action Text content and Active Storage attachment (aka blob) respectively. -
Remove the lines from
app/javascript/application.js
import "trix" import "@rails/actiontext"