[IMP] web_editor: add height option on html field
It is possible to specify a height for the html field, instead of the default 380px. task-2458165 Part of https://github.com/odoo/odoo/pull/68221
This commit is contained in:
committed by
Jeremy Kersten
parent
4da9533cdf
commit
198a075cf4
@@ -195,7 +195,7 @@ var FieldHtml = basic_fields.DebouncedField.extend(TranslatableFieldMixin, {
|
||||
linkForceNewWindow: true,
|
||||
|
||||
tabsize: 0,
|
||||
height: 380,
|
||||
height: this.nodeOptions.height || 380,
|
||||
resizable: 'resizable' in this.nodeOptions ? this.nodeOptions.resizable : true,
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user