Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload image pasted as HTML #2557

Open
pjasiun opened this issue Jul 23, 2018 · 2 comments
Open

Upload image pasted as HTML #2557

pjasiun opened this issue Jul 23, 2018 · 2 comments
Labels
package:easy-image support:2 An issue reported by a commercially licensed client. type:feature This issue reports a feature request (an idea for a new functionality or a missing option).

Comments

@pjasiun
Copy link

pjasiun commented Jul 23, 2018

The editor uploads an image when you paste a file, but when you paste an HTML with the image (<img> tag) nothing is uploaded. In such case, HTML is inserted as it was pasted, so the source of the image might be an external website.

It would be an useful feature if the editor will upload also images pasted as HTML so all images in the document will be kept on a single server.

Unfortunately, this is a little bit tricky. What we need to do is to move an image from one server to another. Should it be done by the editor or the target server should copy it directly? The server might have no permissions to request the image, so most probably the browser should download the image from one server and upload it to another. It will need some hacks to get an image as data.

This ticket could be reported as well to https://github.com/ckeditor/ckeditor5-image or https://github.com/ckeditor/ckeditor5-upload but since I am still not sure if it will be handled by the client or the server side, it is safer to report it as a part of the easy image feature. However, it does not mean that it will not be a part of generic image upload API.

@Reinmar
Copy link
Member

Reinmar commented Jul 24, 2018

@pjasiun
Copy link
Author

pjasiun commented Jul 24, 2018

Not exactly a DUP, more like "related". This ticket is more specific, ckeditor/ckeditor5-image#211 is more generic.

@mlewand mlewand transferred this issue from ckeditor/ckeditor5-easy-image Oct 9, 2019
@mlewand mlewand added this to the backlog milestone Oct 9, 2019
@mlewand mlewand added status:confirmed type:feature This issue reports a feature request (an idea for a new functionality or a missing option). package:easy-image labels Oct 9, 2019
@pomek pomek removed this from the backlog milestone Feb 21, 2022
@aldonace-wu aldonace-wu added support:2 An issue reported by a commercially licensed client. support:1 An issue reported by a commercially licensed client. and removed support:1 An issue reported by a commercially licensed client. labels Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:easy-image support:2 An issue reported by a commercially licensed client. type:feature This issue reports a feature request (an idea for a new functionality or a missing option).
Projects
None yet
Development

No branches or pull requests

5 participants