...
var ct = this.getContentField(config);
if (ct) {
mlf.push({
title: _('goodnews.mail_body')
,id: 'modx-resource-content'
,layout: 'form'
,bodyCssClass: 'main-wrapper'
,autoHeight: true
,collapsible: false
,animCollapse: false
,hideMode: 'offsets'
,items: ct
,style: 'margin-top: 10px'
});
}
return mlf;
...
...
,getContentField: function(config) {
return [{
id: 'modx-content-above'
,border: false
},{
xtype: 'textarea'
,name: 'ta'
,id: 'ta'
,hideLabel: true
,anchor: '100%'
,height: 400
,grow: false
,value: (config.record.content || config.record.ta) || ''
},{
id: 'modx-content-below'
,border: false
}];
}
...
This question has been answered by gadgetto. See the first response.
There is a configuration item in the plugin itself, theme_advanced_resize_horizontal that is on by default. Turn that off to prevent resizing.
In assets/components/tinymce/jscripts/tiny_mce/themes/advanced/editor_template.js you can search for theme_advanced_resizing_use_cookie and change the 1 to a 0 to allow resizing, but not maintaining the size (in the source file, assets/components/tinymce/jscripts/tiny_mce/themes/advanced/editor_template_src.js on line 182).
While the default resize_horizontal is overridden by the configuration setting, there is no override available for the use_cookie setting.
This apparently is only done in the advanced theme, so you could also prevent it by using a different theme (in System Settings).