ckgedit icon indicating copy to clipboard operation
ckgedit copied to clipboard

Paste image from google docs doesn't work

Open Grief opened this issue 3 years ago • 1 comments

Step to reproduce:

  1. Open google docs with an image (e.g. https://docs.google.com/document/d/1rSSonaZzgS0wh7X-V8pjJ30qetCCJ3ngOmGMbQwI5zY/edit?usp=sharing), copy the image with ctrl+c or 'copy' option from the context menu image

  2. Paste it to the dokuwiki page image

  3. Save the page image

I suppose that the editor cannot handle images pasted with data-cke-saved-src attribute like this:

<img data-cke-saved-src="https://lh6.googleusercontent.com/Oh97n8bcC53h0_yg4XFLEa0bjZMPPZACTKnOzig9LvB6kHN-DZkBAvH8iD7cG-5OabBY4vEzU-Hnb-NeKWdFmmig1O3_xlkWWpuW_ZzTMeBZwtFvDgtl-Yq0mm7q9K0VWKDEAWFY" src="https://lh6.googleusercontent.com/Oh97n8bcC53h0_yg4XFLEa0bjZMPPZACTKnOzig9LvB6kHN-DZkBAvH8iD7cG-5OabBY4vEzU-Hnb-NeKWdFmmig1O3_xlkWWpuW_ZzTMeBZwtFvDgtl-Yq0mm7q9K0VWKDEAWFY" width="479" height="359">```

Grief avatar Feb 14 '22 13:02 Grief

CTRL-C does not copy from a url but from the image data on your server. Have you turned on image paste support form the checkbox below the editor?

turnermm avatar Feb 24 '22 20:02 turnermm