[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 10:49:43 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:
Component:  TinyMCE       |     Version:  5.0
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------

Comment (by azaozz):

 @dangerd512 could you install the example plugin from the ticket
 description and look at the editor iframe in the browser tools? As far as
 I see it has "proper" 300px height, same as the editor textarea. On
 clicking "SHOW IT" here the editor is shown with 300px height.

 Re-reading the previous comments, for some reason I assumed the original
 reported bug was for setting the editor height "dynamically" according to
 the editor content height (which is not possible in this case, only at
 initialization of non-hidden editor instance).

 However I cannot reproduce the editor not setting the height passed in the
 init array. The preset height works properly.

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


More information about the wp-trac mailing list