Search code examples
imageckeditorclipboardinternet-explorer-11wysiwyg

Pasting an image directly from a client clipboard


We have a need to allow application users to paste images into WYSIWYG from. Our front-end runs in IE 11. In cases when the image in case is actually a screen capture we really do not want to force users to first save and then upload it. It should be pasted directly (at least in terms of user experience) from Windows clipboard.

I was thinking of creating our own Image plug-in for CKEditor, but not sure if what we want is actually doable.

For example, CanIUse warns that

Internet Explorer will display a security prompt for access to the OS clipboard

Not sure what other difficulties we might face due to JavaScript guarding end-user file systems and other resources.

Since CK Editor site refers to SO for support, I hope that someone here might be able to enlighten me.


Solution

  • CKEditor 4.5 supports that. Test their demo.