When I drag and drop to the TinyMCE WYSIWYG editor, about 80% of the time the browser detects it as a "open this image" command, instead of uploading the image to the textarea. Consequently, the page loads the image by itself (with white space around it) as if you were to right click and image and hit "View this image".

Any way to fix this issue? I'm using Safari to edit content. About 20% of the time, it loads correctly. The problem is that the blinking cursor appears and disappears really quickly. I know that when the cursor appears it knows to paste it there.

Comments

deciphered’s picture

Hi kitemedia,

The method used in Safari and Chrome requires a hidden object to be placed directly underneath the cursor as a dropzone, when this happens it will no longer be interacting with the WYSIWYG and therefore there should not be a blink cursor, so chance are you may be dropping the image too soon causing the upload behavior not to trigger.

In Firefox this is not the case, and the reliability is much higher, and it should (if I recall correctly) respect the drop point.

There is a lot of work being done in re-writting this module at the moment and one of my targets is to make sure that the drop point is respected no matter what the browser, and also to increase the overall reliability and usability of the module.

In the mean time, to increase the reliability in Safari/Chrome, simply give the script a second or two to do what it needs to do before dropping your file. Hopefully that will help.

Cheers,
Deciphered.

PatrickTarzan’s picture

I have the exact problem as the writer of this thread, and i can't get it to work, i have tried this with both Safari and Firefox on PC and Mac, and it's always the same problem. Please help!

francis55’s picture

It doesn't work for me either... I tried holding my breath while keeping my finger on the mouse button, but still no dice...

queryblitz’s picture

Yeah I'm not getting it to work in Chrome or Internet Explorer on a PC... even after waiting. Beta and dev, tried both, with custom theme and with Garland.

edit: Deselecting the option to hide the field, using Garland theme, did upload the image, but still did not place it inline with the text.

chrisck’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)