[wp-trac] [WordPress Trac] #22765: When inserting an image in Firefox < 17, it is inserted at the top

WordPress Trac noreply at wordpress.org
Thu Dec 6 00:24:59 UTC 2012


#22765: When inserting an image in Firefox < 17, it is inserted at the top
-----------------------------+-----------------------
 Reporter:  azaozz           |       Owner:  azaozz
     Type:  defect (bug)     |      Status:  assigned
 Priority:  highest omg bbq  |   Milestone:  3.5
Component:  Media            |     Version:  trunk
 Severity:  blocker          |  Resolution:
 Keywords:  needs-testing    |
-----------------------------+-----------------------

Comment (by azaozz):

 The problem here is that in Firefox versions less than 17 (currently
 latest) all images are inserted at the top of the content in the Visual
 editor, regardless of where the caret is.

 So if there are several paragraphs and the user clicks in the last one and
 inserts an image, it will be inserted in the first paragraph instead. With
 the above patch it should be inserted where the user has clicked/typed
 last before opening the modal.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22765#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list