[wp-trac] [WordPress Trac] #23042: Post edit page may become almost unusable and textarea resize not saved

WordPress Trac noreply at wordpress.org
Sat Dec 22 23:17:02 UTC 2012


#23042: Post edit page may become almost unusable and textarea resize not saved
--------------------------+--------------------
 Reporter:  kinderr@…     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5.1
Component:  Editor        |     Version:  3.5
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+--------------------

Comment (by azaozz):

 In #22708 the code was changed to save only on resizing the editor (either
 Visual or Text). As far as I see the only explanation is that `$('#wp-
 content-editor-container').height()` returns a huge value in some rare
 cases... Not able to reproduce it either but will keep trying. Might be
 caused by getting the height and at the same time resizing a child element
 (not confirmed).

 In the meantime perhaps can modify that core to look only at elements that
 have css height set, i.e. the iframe and the textarea. That will make it a
 bit of a guess when matching the height of #wp-content-editor-container
 when switching Visual->Text and back, but should return the actual pixel
 value.

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


More information about the wp-trac mailing list