1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actiontext
Chris LaRose c03a50ade3 Explicitly require rails-html-sanitizer gem in ActionText helpers
If the [`action_text.helper` initializer][0] runs after
`ActionController::Base` has been loaded, but before the
`rails-html-sanitizer` gem has been `require`d, then the reference to
the constant `Rails::Html` in the body of the
`ActionText::ContentHelper` module raises an `uninitialized constant`
exception.

[0]: 2170338239/actiontext/lib/action_text/engine.rb (L31-L35)
2019-03-06 17:32:03 -08:00
..
app Explicitly require rails-html-sanitizer gem in ActionText helpers 2019-03-06 17:32:03 -08:00
bin
db/migrate Allow changing text and blob size without giving the limit option 2019-01-29 06:49:32 +09:00
lib Preparing for 6.0.0.beta2 release 2019-02-25 17:45:04 -05:00
test Disable available locale checks in Action Test test 2019-02-24 14:01:52 +09:00
.gitignore
actiontext.gemspec Action Text: bundle package.json in built gem. 2019-01-18 00:11:18 +01:00
CHANGELOG.md Preparing for 6.0.0.beta2 release 2019-02-25 17:45:04 -05:00
MIT-LICENSE
package.json Preparing for 6.0.0.beta2 release 2019-02-25 17:45:04 -05:00
Rakefile add new frameworks to tasks/release.rb 2019-01-08 10:36:33 -08:00
README.md Add Action Text to guides [ci skip] 2019-01-05 13:30:37 +02:00

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.