rails--rails/actiontext
Xavier Noria c431432f93 Add app/{helpers,models} to autoload_once_paths
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.
2021-03-07 23:05:24 +01:00
..
app Add config.action_text.attachment_tag_name 2021-03-05 16:57:36 -05:00
bin
db/migrate
lib Add app/{helpers,models} to autoload_once_paths 2021-03-07 23:05:24 +01:00
test Add config.action_text.attachment_tag_name 2021-03-05 16:57:36 -05:00
.gitignore
CHANGELOG.md Add config.action_text.attachment_tag_name 2021-03-05 16:57:36 -05:00
MIT-LICENSE
README.md
Rakefile
actiontext.gemspec
package.json @rails/actiontext: depend on released @rails/activestorage 2021-03-06 11:32:44 -05:00

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.