UziTech / jquery.toTextarea.js

Changes a div to act like a textarea to allow auto resizing and editing options
MIT License
16 stars 1 forks source link

Drag&drop img to another place #5

Closed ghost closed 8 years ago

ghost commented 8 years ago

Trying to drag&drop added img to another place will cause displaying base64 code

UziTech commented 8 years ago

When you drag an image from one div to another div it is seen as a cut & paste operation so you will need to set the pastePlainText option to false in order for it to show the image instead of the data url.