We are migrating CKEditor issue tracking to GitHub. Please, use GitHub to report any new issues.

The former tracking system (this website) will still be available in the read-only mode. All issues reported in the past will still be available publicly and can be referenced.

Important: we decided not to transfer all the tickets to GitHub, as many of them are not reproducible anymore or simply no longer requested by the community. If the issue you are interested in, can be still reproduced in the latest version of CKEditor, feel free to report it again on GitHub. At the same time please note that issues reported on this website are still taken into consideration when picking up candidates for next milestones.

[Edge] Pasting images in Edge does not work

Description

Steps to reproduce

Take a screenshot so that clipboard has an image in buffer.

CTRL+V to paste image in editor

Expected result

Pasting images should work when using the uploadimage plugin in Edge like it does in IE11, Chrome, and Firefox. It appears that browser does support this functionality as gmail is able to handle pasting in images from the clipboard when using MS Edge.

I knew it was an issue for dragging and dropping files. I'm curious how gmail is working around the issue for just pasting copied images like screen shots in the clipboard with Edge right now. There must be some API that works right now if gmail is able to do it.

Just to clarify, the specific use case that seems like should be allowed is taking a screenshot with the PrtScn key and pasting into the editor. This does not work in Edge in the editor (on ours or the demo). This specific workflow is supported by gmail.

Edge does not support pasting or dropping files, but, in fact, it supports pasting image via the new Clipboard API (evt.clipboartData.items). Because old IEs didn't support evt.clipboartData we didn't handle it in Edge too. I fixed it, changes are in ​t/13755. However, it may break something in old IEs, they need to be tested.

It does look like ClipboardEvent object comes with a DataTransfer instance under clipboardData property. The image comes as clipbaordData.items[ 0 ] as a kind = file and type = image/png. For some reason our dataTransfer instance does not pick it up.