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 e1b1e4d1f09..94cac573b21 100644 --- a/addons/web_editor/static/src/js/backend/html_field.js +++ b/addons/web_editor/static/src/js/backend/html_field.js @@ -228,6 +228,7 @@ export class HtmlField extends Component { res_model: this.props.record.resModel, res_id: this.props.record.resId, }, + fieldId: this.props.id, }; } /** diff --git a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js index dede3258590..7017f05c0a9 100644 --- a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js +++ b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js @@ -759,6 +759,15 @@ const Wysiwyg = Widget.extend({ */ renderElement: function () { this.$editable = this.options.editable || $('