diff --git a/addons/web_editor/static/src/js/backend/html_field.js b/addons/web_editor/static/src/js/backend/html_field.js index 3f85f77dca2..9ae37d81b49 100644 --- a/addons/web_editor/static/src/js/backend/html_field.js +++ b/addons/web_editor/static/src/js/backend/html_field.js @@ -46,7 +46,6 @@ export class HtmlField extends Component { dynamicPlaceholder: { type: Boolean, optional: true, default: false }, dynamicPlaceholderModelReferenceField: { type: String, optional: true }, cssReadonlyAssetId: { type: String, optional: true }, - cssEditAssetId: { type: String, optional: true }, isInlineStyle: { type: Boolean, optional: true }, sandboxedPreview: {type: Boolean, optional: true}, wrapper: { type: String, optional: true }, @@ -91,9 +90,6 @@ export class HtmlField extends Component { if (this.props.cssReadonlyAssetId) { this.cssReadonlyAsset = await getBundle(this.props.cssReadonlyAssetId); } - if (this.props.cssEditAssetId || this.props.isInlineStyle) { - await getBundle(this.props.cssEditAssetId || 'web_editor.assets_edit_html_field'); - } }); this._lastRecordInfo = { res_model: this.props.record.resModel, @@ -706,7 +702,6 @@ export const htmlField = { cssReadonlyAssetId: options.cssReadonly, dynamicPlaceholder: options?.dynamic_placeholder || false, dynamicPlaceholderModelReferenceField: options?.dynamic_placeholder_model_reference_field || "", - cssEditAssetId: options.cssEdit, isInlineStyle: options['style-inline'], wysiwygOptions,