diff --git a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js index ae413bc1872..ab7c6d0e51f 100644 --- a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js +++ b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js @@ -2179,13 +2179,13 @@ export class Wysiwyg extends Component { if (!this.showTooltip || $target.attr('title') !== undefined) { return; } - this.odooEditor.observerUnactive(); // Tooltips need to be cleared before leaving the editor. this.saving_mutex.exec(() => { + this.odooEditor.observerUnactive(); $target.tooltip({title: _t('Double-click to edit'), trigger: 'manual', container: 'body'}).tooltip('show'); + this.odooEditor.observerActive(); this.tooltipTimeouts.push(setTimeout(() => $target.tooltip('dispose'), 800)); }); - this.odooEditor.observerActive(); }, 400)); } // Hide button groups that have no visible buttons.