aboutsummaryrefslogtreecommitdiffstats
path: root/actiontext/app/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Update sanitizer in ActionView::Helpers::SanitizeHelperJuanito Fatas2019-08-051-1/+1
| | | | | - The sanitizer has been changed to safe_list_sanitizer. - deprecate white_list_sanitizer
* It may be better to explicitly require 'object/try' where we call `try`Akira Matsuda2019-08-011-0/+1
| | | | | | In most cases it works now without explicit require because it's accidentally required through active_support/core_ext/date_and_time/calculations.rb where we still call `try`, but that would stop working if we changed the Calculations implementation and remove the require call there.
* Make Action Text's rendering helpers more configurableJavan Makhmali2019-04-221-9/+14
| | | | | - Allow configuring the sanitizer and its options - Split attachment rendering and sanitizing helpers so each can be overridden by applications
* Explicitly require rails-html-sanitizer gem in ActionText helpersChris LaRose2019-03-061-0/+2
| | | | | | | | | | | 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]: https://github.com/rails/rails/blob/21703382393c87212c27c988420ee5c133c1aa9f/actiontext/lib/action_text/engine.rb#L31-L35
* Allows rich_text_area_tag to add I18n translated placeholder text if ↵Abhay Nikam2019-02-221-0/+4
| | | | placeholder option set to true
* Fix document formatting on Action Text docs [ci skip]colorbox2019-01-241-2/+2
| | | | Use `+` instead of backquote.
* Import Action TextGeorge Claghorn2019-01-042-0/+105