javascript - How to convert an inline image as an external file in a content editable field -


if paste bitmap image in contenteditable field, default injected inline bitmap (base64 encoded) in html.

<img src="data:image/png;base64,ivborw0kggoaaaansuheugaaaksaaajwc… 

users tend paste images creates default lot of inline images.

in general don't want inline images, since want manage images separate resources, plus, large image, increases dramatically block content in db. of course, ask users save copied picture locally, give nice name, upload it, insert it… contraining.

has work prior ie10.

any idea?


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -