1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actiontext
Javan Makhmali 296cc53277 Fix ActiveStorage::Blob → ActionText::TrixAttachment conversion
A regression introduced in 764803e07a caused blobs to appear as HTML content attachments instead of file / image attachments when editing rich text content. This change restores the original intended behavior.

References: https://github.com/rails/rails/pull/35485, https://github.com/basecamp/trix/issues/706
2019-12-03 05:57:36 -05:00
..
app Cleanup unneeded blank string params in ActionText 2019-08-23 20:17:38 +02: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 Fix ActiveStorage::Blob → ActionText::TrixAttachment conversion 2019-12-03 05:57:36 -05:00
test Fix ActiveStorage::Blob → ActionText::TrixAttachment conversion 2019-12-03 05:57:36 -05:00
.gitignore Ignore SQLite3 database files generated by parallel testing 2019-08-27 11:42:04 +00:00
actiontext.gemspec Add bug tracker/documentation/mailing list URIs to the gemspecs 2019-10-11 20:47:19 -04:00
CHANGELOG.md Unify to use 4 spaces indentation in CHANGELOGs [ci skip] 2019-06-05 05:53:49 +09:00
MIT-LICENSE Import Action Text 2019-01-04 22:22:49 -05:00
package.json update package.json files to use https homepage value 2019-10-02 12:00:11 +02:00
Rakefile Add ActionDispatch::SystemTestCase#fill_in_rich_text_area 2019-05-13 12:44:06 -04: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.