refactory-id / bootstrap-markdown

Bootstrap plugin for markdown editing
Apache License 2.0
1.99k stars 371 forks source link

Add support to upload images to cloudinary #149

Closed cadwmaster closed 9 years ago

cadwmaster commented 9 years ago

That would give the option of attach images easily (upload to cloudinary), now you need to have the image already in the web and get the url to paste.

lodev09 commented 9 years ago

You can do this using the existing onShow event callback. See here: http://embed.plnkr.co/atyuBnVNktl8YSfdfPJT/preview

Just go over with the code on how I implemented it inside the event callback. :)

lodev09 commented 9 years ago

I just checked and actually, I did not put the code in the onShow event (that was an old code). But anyway, you will see what I mean regarding uploading images and pasting it to the textarea of the editor. I'm using filedrop plugin

cadwmaster commented 9 years ago

Thanks, actually I found that I can create additional buttons with my own functionality so I extended to support cloudinary. Nice plugin, was really easy to extend.

Cheers!!

lodev09 commented 9 years ago

Good for you mate :+1: