bevacqua / woofmark

:dog2: Barking up the DOM tree. A modular, progressive, and beautiful Markdown and HTML editor
https://bevacqua.github.io/woofmark
MIT License
1.62k stars 74 forks source link

can we have drag/drop support for images #5

Closed vviikk closed 8 years ago

vviikk commented 9 years ago

i.e. dropped image is converted to base64 encoding and embedded as dataURI? @let4be

bevacqua commented 9 years ago

There is support for this but just dropping images in the image dialog works. I'd definitely merge a pull request for dropping images or attachments on the editor itself

vviikk commented 9 years ago

Thanks. We're the guys over at Lavaboom. We're trying to scout for the best wysiwyg editor out there with markdown support. It's for our email client.

https://github.com/lavab/web/

If we do decide to go with woofmark I will send you a message. Thanks!

bevacqua commented 8 years ago

This is coming.

bevacqua commented 8 years ago

Deployed as 3.0.0, enabled by default, if you've set up attachment or image uploads, then it'll work seamlessly. When something is dropped onto the input, the dialog will be opened and the upload will be processed. The dialog is still used because it's a crutch to display validation messaging and whatnot.

bevacqua commented 8 years ago

Demo:

screen shot 2015-07-21 at 18 30 43
vviikk commented 8 years ago

nice! @let4be!

On Wed, 22 Jul 2015 at 05:31 Nicolas Bevacqua notifications@github.com wrote:

Demo:

[image: screen shot 2015-07-21 at 18 30 43] https://cloud.githubusercontent.com/assets/934293/8813053/9d2388c4-2fd6-11e5-888f-83060a819a9e.png

— Reply to this email directly or view it on GitHub https://github.com/bevacqua/woofmark/issues/5#issuecomment-123483458.

Vik Ramanujam vik@ramanuj.am (official) piggyslasher@gmail.com (everything else) +6016 656 4647

jywarren commented 5 years ago

Noting a follow-up to try to intercept data-url images that are inserted that would overload databases if stored in the midst of a text post (we've seen this happen rarely on our system): #38

Thanks!

jywarren commented 5 years ago

Oops, wrong one -- #69 !