codexa / firetext

[NOT MAINTAINED] Word Processing App 📝 📖

Home Page:https://marketplace.firefox.com/app/firetext

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.