diff --git a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js index ae8f4e7b92d..be81be929a9 100644 --- a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js +++ b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js @@ -644,7 +644,7 @@ export class Wysiwyg extends Component { && !$target[0].closest('.o_extra_menu_items') && $target[0].isContentEditable) { if (ev.ctrlKey || ev.metaKey) { - window.open(ev.target.href, '_blank') + window.open($target[0].href, '_blank'); } this.linkPopover = $target.data('popover-widget-initialized'); if (!this.linkPopover) {