aboutsummaryrefslogtreecommitdiffstats
path: root/actiontext/lib
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
|
* Adds a warning message for action text installer if application pack is missing.Abhay Nikam2019-04-191-0/+13
|
* 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
|
* Add line break to Action Text installation outputsVinicius Brasil2019-01-271-1/+1
| | | | | | | | | | | | | | The Action Text installations appends `require("trix")` to the application.js file. The problem is that there isn't a line break in the beginning of the installation output, leading to syntax errors, e.g.: ``` import './application.scss'require("trix") ``` This commit moves the line break from the end to the beginning of the output, fixing it to: ``` import './application.scss' require("trix") ```
* Preparing for 6.0.0.beta1 releaseRafael Mendonça França2019-01-181-1/+1
|
* Tidy up action_text:install taskJavan Makhmali2019-01-171-9/+20
| | | | Automate installing the appropriate packages with yarn and appending them to the default application.js pack.
* Move all npm packages to @rails scopeJavan Makhmali2019-01-101-4/+3
| | | | Fixes #33083
* Enable `Lint/DeprecatedClassMethods` cop to avoid using deprecated methodsyuuji.yaginuma2019-01-091-1/+1
|
* Reset ActionText::Content.renderer before and after each requestGeorge Claghorn2019-01-051-3/+6
|
* Import Action TextGeorge Claghorn2019-01-0424-0/+1075