Documentation

Height and Width

minHeight

Type: Boolean String

Default: false

This setting allows to set minimum height for Redactor.

$R('#content', {
        minHeight: '300px'
});

maxHeight

Type: Boolean String

Default: false

This setting allows to set maximum height for Redactor.

$R('#content', {
        maxHeight: '800px'
});

maxWidth

Type: Boolean String

Default: false

This setting defines maximum width of content inside of Redactor. This setting doesn't change the width of Redactor itself, however, if you need to limit the width of content inside of Redactor, this one helps.

$R('#content', {
        maxWidth: '500px'
});