52c21f9066
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. |
||
---|---|---|
.. | ||
action_text | ||
generators/action_text/install | ||
rails/generators/test_unit | ||
tasks | ||
action_text.rb |