plone / Products.CMFPlone

The core of the Plone content management system
https://plone.org
GNU General Public License v2.0
249 stars 188 forks source link

Classi wysiwyg image upload does not insert in some cases #3896

Open ewohnlich opened 8 months ago

ewohnlich commented 8 months ago

BUG/PROBLEM REPORT (OR OTHER COMMON ISSUE)

What I did:

I tested on https://classic.demo.plone.org/ to ensure I had a vanilla environment and the latest bug release.

In the wysiwyg editor:

What I expect to happen:

Either a failure to upload and insert my image, because I didn't click Upload. Or, as a UX help, the image will be uploaded and inserted for me.

What actually happened:

The file was uploaded but not inserted. I suspect the code tries to help me out and upload the image for me even I though I didn't explicitly tell it to. A blank element was inserted, so my guess was it attempted to insert it as well but there's a bug.

What version of Plone/ Addons I am using: