Skip to content
This repository has been archived by the owner on Oct 2, 2018. It is now read-only.

Upload images on insertion #242

Open
twiss opened this issue Dec 3, 2014 · 3 comments
Open

Upload images on insertion #242

twiss opened this issue Dec 3, 2014 · 3 comments

Comments

@twiss
Copy link
Collaborator

twiss commented Dec 3, 2014

It would be nice to have images inside the document.

Both through the UI and after paste.

@ferndot
Copy link
Member

ferndot commented Dec 4, 2014

This isn't natively supported by contenteditable?

@twiss
Copy link
Collaborator Author

twiss commented Dec 4, 2014

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">.

@ferndot
Copy link
Member

ferndot commented Dec 4, 2014

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants