ckeditor5
ckeditor5 copied to clipboard
Pasting images from MC Word doesn't work in manual test in safari
📝 Provide detailed reproduction steps (if any)
- Select entire document including image in MC Word
- Open manual test in Safari
- Paste it in the editor
✔️ Expected result
Images are pasted
❌ Actual result
Images didn't paste
❓ Possible solution
If you have ideas, you can list them here. Otherwise, you can delete this section.
📃 Other details
- Browser: …
- OS: …
- First affected CKEditor version: …
- Installed CKEditor plugins: …
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
This is happening only in manual tests in Safari.
Looking at the console you can see:
This indicates that CSP is enabled in this manual test and it does not allow img-src blob:. Since Safari is providing images pasted from the Word as Blob objects, this is causing the failure of image load. The solution would be to update CSP to allow blob: for img-src.
Probably we should update CSP guide: https://ckeditor.com/docs/ckeditor5/latest/installation/advanced/csp.html