diff --git a/addons/web_editor/static/src/js/backend/QWebPlugin.js b/addons/web_editor/static/src/js/backend/QWebPlugin.js index 709ebc689ae..f6b316dc0a6 100644 --- a/addons/web_editor/static/src/js/backend/QWebPlugin.js +++ b/addons/web_editor/static/src/js/backend/QWebPlugin.js @@ -26,7 +26,8 @@ export class QWebPlugin { } } cleanForSave(editable) { - for (const node of editable.querySelectorAll('[data-oe-t-group]')) { + for (const node of editable.querySelectorAll('[data-oe-t-group], [data-oe-t-inline], [data-oe-t-selectable], [data-oe-t-group-active]')) { + node.removeAttribute('data-oe-t-group-active'); node.removeAttribute('data-oe-t-group'); node.removeAttribute('data-oe-t-inline'); node.removeAttribute('data-oe-t-selectable');