[wp-trac] [WordPress Trac] #29360: How I can disable the `auto-height` in Editor?

WordPress Trac noreply at wordpress.org
Thu Aug 28 18:01:39 UTC 2014


#29360: How I can disable the `auto-height` in Editor?
--------------------------+------------------------------
 Reporter:  KingYes       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by azaozz):

 Replying to [comment:2 KingYes]:

 You are copying the TinyMCE init object from the "main" editor `_.extend(
 {}, tinyMCEPreInit.mceInit.content );`. It has `wp_autoresize_on: true`
 which enables the auto-resize. Either set that to false or delete it. Some
 other settings may need tweaking/adjusting as that init object is meant
 for the "main" editor only.

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


More information about the wp-trac mailing list