mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
c431432f93
The helpers of Action Text are added to a couple of non-reloadable base classes: initializer "action_text.helper" do %i[action_controller_base action_mailer].each do |abstract_controller| ActiveSupport.on_load(abstract_controller) do helper ActionText::Engine.helpers end end end Therefore, it does not make sense that they are reloadable themselves. For the same price, we can also make the models non-reloadable, thus saving parent applications from the unnecessary work of reloading this engine. We did this for turbo-rails as well. |
||
---|---|---|
.. | ||
app | ||
bin | ||
db/migrate | ||
lib | ||
test | ||
.gitignore | ||
actiontext.gemspec | ||
CHANGELOG.md | ||
MIT-LICENSE | ||
package.json | ||
Rakefile | ||
README.md |
Action Text
Action Text brings rich text content and editing to Rails. It includes the Trix editor that handles everything from formatting to links to quotes to lists to embedded images and galleries. The rich text content generated by the Trix editor is saved in its own RichText model that's associated with any existing Active Record model in the application. Any embedded images (or other attachments) are automatically stored using Active Storage and associated with the included RichText model.
You can read more about Action Text in the Action Text Overview guide.
License
Action Text is released under the MIT License.