No Code Attached Yet bug
avatar ceford
ceford
23 Nov 2021

Steps to reproduce the issue

I was revising some documentation and came across differences between browsers and platform. To test, open an article to edit using TinyMCE. Have an adjacent window with an image that can be dragged into the article text. I used the Joomla logo on the Joomla home page. Observe what happens and look at the markup.

Firefox on Mac: The image and enclosing div are copied:

<div class="span7">
<h1 class="page-title"><a href="https://www.joomla.org/"><img src="https://cdn.joomla.org/images/Joomla_logo.png" alt="Joomla CMS" width="40" height="40" />Joomla!</a></h1>
</div>

Chrome on Mac: The image tag is copied.

<img class="img-fluid" src="../j4ops/templates/bs50/images/logo-104a65-142x128.png" alt="removed" width="106" height="96" />

Safari on Mac: prompt for Additional Data / Image Description (Alt Text). The image is saved to images/image.png and it looks like it can only be done once. The markup:

<img src="images/image.png" alt="My Logo" width="142" height="128" loading="lazy" />

Firefox on Linux: as for Mac.

Chrome on Linux: Prompt for Additional Data / Image Description (Alt Text) and the image is saved with the original name.

<img src="images/Joomla_logo.png" alt="Joomla Logo" width="40" height="40" loading="lazy" />

Second time with same name: Error conflict!

Windows / Chrome: reported to behave as expected (but what is that?).

Expected result

Consistency of behaviour

Actual result

Browser and platform dependency,

System information (as much as possible)

Additional comments

It may be that we have to live with this problem. In which case we just mention it in the documentation.

avatar ceford ceford - open - 23 Nov 2021
avatar ceford ceford - change - 23 Nov 2021
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 23 Nov 2021
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 23 Nov 2021
avatar brianteeman
brianteeman - comment - 23 Nov 2021

Windows / Chrome: reported to behave as expected (but what is that?).

Prompt for Additional Data / Image Description (Alt Text) and the image is saved with the original name.

<img src="images/Joomla_logo.png" alt="Joomla Logo" width="40" height="40" loading="lazy" />

avatar brianteeman
brianteeman - comment - 23 Nov 2021

I can confirm that firefox for windows is the same as you found on the mac

avatar dgrammatiko
dgrammatiko - comment - 23 Nov 2021

The drag and drop assumes that the images ARE locally stored in the users computer. Kinda impressed that it also works for dragging html elements from another page but that's not what the feature was designed to do in the first place...

avatar Hackwar Hackwar - change - 22 Feb 2023
Labels Added: bug
avatar Hackwar Hackwar - labeled - 22 Feb 2023
avatar brianteeman
brianteeman - comment - 29 Aug 2025

Personally I would close this for the reason stated by Dimitris above.

avatar Fedik
Fedik - comment - 29 Aug 2025

We could also set it as feature request, but need a better title.
In theory it should be possible to handle drop from HTML with image, then download and upload locally.

avatar brianteeman
brianteeman - comment - 29 Aug 2025

if it scratches your itch then create a feature request - note that this is 4 years old. Personally I believe this to be a restriction at the browser level

avatar MacJoom
MacJoom - comment - 8 Sep 2025

Thank you for contribution - its browser depended - we cannot provide browser specific solutions.

Add a Comment

Login with GitHub to post a comment