commontator icon indicating copy to clipboard operation
commontator copied to clipboard

Active Storage + Action Text (image upload) support

Open aditya01933 opened this issue 10 years ago • 3 comments

Is it possible to add images in comments ? I mean to say posting images with comments. I tried this http://stackoverflow.com/questions/31907023/images-in-comments-with-paperclip-and-commontator

aditya01933 avatar Aug 09 '15 17:08 aditya01933

user this one <%= image_tag(comment.creator.comment_image.url(:medium)) %> insted of <%= image_tag comment.comment_image.url(:medium) %>

gmrind avatar Oct 13 '15 20:10 gmrind

The Rails sanitizer that Commontator uses is actually lenient enough that users can probably add <img> tags, though there's no way to upload them through Commontator. You could probably do something with ActiveStorage in the meantime.

Dantemss avatar Jul 07 '19 08:07 Dantemss

Seems like the way to do this would be to add support for Active Storage + Rails 6 Action Text. I'll rename the issue.

Dantemss avatar Sep 20 '19 16:09 Dantemss