Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Active Storage + Action Text (image upload) support #74

Open
aditya01933 opened this issue Aug 9, 2015 · 3 comments
Open

Active Storage + Action Text (image upload) support #74

aditya01933 opened this issue Aug 9, 2015 · 3 comments

Comments

@aditya01933
Copy link

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

@gmrind
Copy link

gmrind commented Oct 13, 2015

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

@Dantemss
Copy link
Member

Dantemss commented Jul 7, 2019

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
Copy link
Member

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 Dantemss changed the title images in comment? Active Storage + Action Text support Sep 20, 2019
@Dantemss Dantemss changed the title Active Storage + Action Text support Active Storage + Action Text (image upload) support Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants