expandToContent() Since: 1.3.5
When called, the editors height will be expanded to match the height of it’s content.
Syntax
instance.expandToContent([ignoreMax]);
Parameters
ignoreMax
Type: Boolean
Default: false
If set to true it will expand passed any maximum height that has been set.