Broken integration between uploadimage
and clipboard
plugin
#5333
Labels
plugin:clipboard
The plugin which probably causes the issue.
plugin:uploadimage
The plugin which probably causes the issue.
plugin:uploadwidget
The plugin which probably causes the issue.
regression
This issue is a regression.
status:confirmed
An issue confirmed by the development team.
support:2
An issue reported by a commercially licensed client.
type:bug
A bug.
Milestone
Type of report
Bug
Provide detailed reproduction steps (if any)
Expected result
The image has preserved its original name.
Actual result
The image has a generic name in the format of
image-<datetime>-<no>
.Other details
Similar to #4874 but much more subtle.
Due to how our clipboard logic works, handling images inside the
clipboard
plugin prevents theuploadimage
/uploadwidget
plugins from getting image files from the clipboard. This causes theuploadimage
to use its fallback logic:ckeditor4/plugins/uploadimage/plugin.js
Lines 94 to 143 in 52fa6b4
The solution introduced in the #4874 (setting the
config.clipboard_handleImages
tofalse
) works but the broken behavior seems to work as long as the original name of the file is not important. It's so deceiving that we missed it for several releases in our docs… Due to that, I think we should revisit the issue and think about better integration between theclipboard
anduploadimage
/uploadwidget
plugins.The text was updated successfully, but these errors were encountered: