[wp-trac] [WordPress Trac] #29360: How I can disable the `auto-height` in Editor?
WordPress Trac
noreply at wordpress.org
Thu Aug 28 18:04:02 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 KingYes):
Replying to [comment:4 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.
How I can disable `wp_autoresize_on: true` after TinyMCE get ready on my
Popup?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29360#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list