diff --git a/addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js b/addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js index 8395c492fba..5149097a760 100644 --- a/addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js +++ b/addons/web_editor/static/src/js/editor/odoo-editor/src/OdooEditor.js @@ -166,7 +166,7 @@ export const CLIPBOARD_WHITELISTS = { /^btn/, /^fa/, ], - attributes: ['class', 'href', 'src'], + attributes: ['class', 'href', 'src', 'target'], styledTags: ['SPAN', 'B', 'STRONG', 'I', 'S', 'U', 'FONT'], styles: { 'text-decoration': { defaultValues: ['', 'none'] },