[wp-trac] [WordPress Trac] #28245: Drag image into Visual editor produces Confirm navigation dialog or other unexpected result
WordPress Trac
noreply at wordpress.org
Wed May 14 10:18:43 UTC 2014
#28245: Drag image into Visual editor produces Confirm navigation dialog or other
unexpected result
--------------------------+-----------------------------
Reporter: bobbingwide | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 3.9.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Problem:
Add or edit a post
Choose Visual editor
Empty out the post content
Attempt to drag an image from another browser window/tab (e.g. swag from
wordpress.org)
'Confirm navigation' dialog box appears.
Expected result:
Image pasted into visual editor, creating appropriate tag, as seen in text
editor.
{{{
<img src="http://wpdotorg.files.wordpress.com/2012/10/red-
negative-w-crop.jpg" alt="WordPress Swag" width="132" height="177" />
}}}
Variations:
Close dialog box, Save draft then try again.
Sometimes it works.
The problem is easy to create when there is no content.
Once the problem has been produced, typing content sometimes fixes the
problem.
The reason I investigated this was that my customer reported a problem
dragging images from Google images. Sometimes the image is dragged
successfully. Other times it's not; instead you get taken to the images's
link. I can get similar results dragging WordPress Swag.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28245>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list