Upload images on insertion
twiss opened this issue · comments
It would be nice to have images inside the document.
Both through the UI and after paste.
This isn't natively supported by contenteditable?
Well, what I mean by "inside" is, currently you get <img src="http://somewhere">
. In many (most?) cases, I expect instead <img src="data:something">
.
I tested this, and images are inserted as data URLs if they are stored on the local filesystem. They are included as remote URLs if they are from an online source.
We could potentially override the default action with some custom code.