aboutsummaryrefslogtreecommitdiffstats
path: root/actiontext/lib/action_text
Commit message (Collapse)AuthorAgeFilesLines
* It may be better to explicitly require 'object/try' where we call `try`Akira Matsuda2019-08-012-0/+4
| | | | | | 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.
* Use match? where we don't need MatchDataAkira Matsuda2019-07-292-2/+2
|
* Implement ActiveStorage::Blob#attachable_plain_text_representationGeorge Claghorn2019-07-071-0/+4
| | | | | | Fixes that file attachments without captions would not be represented in plain text generated from rich-text content, causing ActionText::RichText#present? to return false. Closes #36607.
* Allow filling in the only rich-text area without a locatorGeorge Claghorn2019-05-191-7/+11
|
* Prefer Capybara::Node::Element#execute_scriptGeorge Claghorn2019-05-191-4/+1
|
* Add ActionDispatch::SystemTestCase#fill_in_rich_text_areaGeorge Claghorn2019-05-132-0/+54
|
* Start Rails 6.1 developmentRafael Mendonça França2019-04-241-2/+2
|
* Avoid creating ActionText::RichText records unnecessarilyGeorge Claghorn2019-03-231-1/+1
| | | | Assigning a has_one association for a persisted record saves the change immediately, so attempting to read a rich-text attribute on a persisted record without a corresponding ActionText::RichText would eagerly create one. Avoid assigning the rich text association to fix.
* Fix updating rich text via nested attributesGeorge Claghorn2019-03-171-5/+2
| | | Closes #35159.
* Merge tag 'v6.0.0.beta3'eileencodes2019-03-131-1/+1
|\ | | | | | | v6.0.0.beta3 release
| * Prep releaseeileencodes2019-03-111-1/+1
| | | | | | | | | | | | | | * Update RAILS_VERSION * Bundle * rake update_versions * rake changelog:header
* | Adds default trix partialChris Oliver2019-03-051-0/+4
|/
* Preparing for 6.0.0.beta2 releaseRafael Mendonça França2019-02-251-1/+1
|
* Preparing for 6.0.0.beta1 releaseRafael Mendonça França2019-01-181-1/+1
|
* Reset ActionText::Content.renderer before and after each requestGeorge Claghorn2019-01-051-3/+6
|
* Import Action TextGeorge Claghorn2019-01-0419-0/+956