1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actiontext
George Claghorn ff7948b1c2 Avoid creating ActionText::RichText records unnecessarily
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.
2019-03-23 10:04:48 -04:00
..
app Explicitly require rails-html-sanitizer gem in ActionText helpers 2019-03-06 17:32:03 -08:00
bin Import Action Text 2019-01-04 22:22:49 -05:00
db/migrate Allow changing text and blob size without giving the limit option 2019-01-29 06:49:32 +09:00
lib Avoid creating ActionText::RichText records unnecessarily 2019-03-23 10:04:48 -04:00
test Avoid creating ActionText::RichText records unnecessarily 2019-03-23 10:04:48 -04:00
.gitignore Import Action Text 2019-01-04 22:22:49 -05:00
actiontext.gemspec Action Text: bundle package.json in built gem. 2019-01-18 00:11:18 +01:00
CHANGELOG.md Prep release 2019-03-11 11:58:15 -04:00
MIT-LICENSE Import Action Text 2019-01-04 22:22:49 -05:00
package.json Prep release 2019-03-11 11:58:15 -04: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.