diff --git a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js index 83d3a514ba2..6d0239171ca 100644 --- a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js +++ b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js @@ -1256,7 +1256,12 @@ const Wysiwyg = Widget.extend({ }, _configureToolbar: function (options) { const $toolbar = this.toolbar.$el; - $toolbar.find('.btn-group').on('mousedown', e => e.preventDefault()); + $toolbar.find('.btn-group').on('mousedown', e => { + // Do not prevent events on popovers. + if (!e.target.closest('.dropdown-menu')) { + e.preventDefault(); + } + }); const openTools = e => { e.preventDefault(); e.stopImmediatePropagation();