[wp-trac] [WordPress Trac] #45461: Incorrect height of the WP editor, when loaded in a hidden layer

WordPress Trac noreply at wordpress.org
Mon Jan 28 16:04:10 UTC 2019


#45461: Incorrect height of the WP editor, when loaded in a hidden layer
--------------------------+-----------------------
 Reporter:  nnikolov      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  5.1
Component:  TinyMCE       |     Version:  5.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------
Changes (by azaozz):

 * keywords:  needs-patch => has-patch


Comment:

 In 45461.diff:
 - Don't adjust the editor (iframe) height on the initial hiding of the
 second, third, forth toolbar rows. This is done on editor init and breaks
 when the editor is initialized inside a hidden container.
 - Adjust the resizing value a bit to better match the current (classic
 editor) styling.

 Tested in Firefox, Chrome and Edge on Win10.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45461#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list