diff --git a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js index 2f1a60a02a7..0a90e71842d 100644 --- a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js +++ b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js @@ -243,7 +243,11 @@ const Wysiwyg = Widget.extend({ ev.preventDefault(); } - if ($target.is(this.customizableLinksSelector) && $target.is('a') && !$target.attr('data-oe-model') && !$target.find('> [data-oe-model]').length) { + if ($target.is(this.customizableLinksSelector) + && $target.is('a') + && !$target.attr('data-oe-model') + && !$target.find('> [data-oe-model]').length + && !$target[0].closest('.o_extra_menu_items')) { this.linkPopover = $target.data('popover-widget-initialized'); if (!this.linkPopover) { // TODO this code is ugly maybe the mutex should be in the