You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
I'm using Redcarpet for markdown editor. The form contains a basic textarea. It works fine.
I use CarrierWave to upload most of my files to aws S3 buckets. It works fine too.
But, I'm unable to figure out how to include & upload image (to S3) on the textarea (markdown).
Kindly advice. Thanks!
Walter Lee Davis
unread,
Jun 18, 2016, 6:49:15 AM6/18/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
This isn't something that will just work without additional code, likely in JS, to manage the upload and return the complete URL to the image. I've used a number of Markdown toolbars in the past that let you add a link to an already-uploaded image in the stream of your Markdown text with one click. But all that's doing is adding the `` syntax around your selected text. Uploading the image within the context of doing the rest of the text editing is not a regular feature of Redcloth or Markdown itself.