rails/actiontext/lib
Petrik 52c21f9066 Only sanitize content attribute when present in attachments
When the `content` attribute is set for Action Text attachments, Trix
shows this content.

1ac6d40d36a07b48a67bc7f8627fd1f92bffcb14 introduced sanitizing the
`content` attribute of ActionText::Attachable::ContentAttachment.
However, it would also set the `content` attribute when it isn't
present. Instead of showing the image preview, Trix would use the
empty `content` attribute resulting in missing previews for images.
2024-06-12 13:21:55 +02:00
..
action_text Only sanitize content attribute when present in attachments 2024-06-12 13:21:55 +02:00
generators/action_text/install Ensure image_processing is installed with Trix 2024-03-08 12:46:36 +00:00
rails/generators/test_unit ./tools/rdoc-to-md --only=actiontext -a 2024-01-24 19:08:44 -05:00
tasks Add ActionText installer rake task back after changes in #35085. Forwards the installer to run new ActionText generator 2019-12-16 23:27:24 +05:30
action_text.rb Use relative includes of README's in documentation [ci-skip] 2024-01-18 10:39:15 +01:00