diff --git a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js index ad467c39202..9c7eb097845 100644 --- a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js +++ b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js @@ -912,7 +912,9 @@ const Wysiwyg = Widget.extend({ } }; this.odooEditor.document.addEventListener('mousedown', _onMousedown, true); - this.linkTools.appendTo(this.toolbar.$el); + if (!this.linkTools.$el) { + this.linkTools.appendTo(this.toolbar.$el); + } } else { this.linkTools.destroy(); this.linkTools = undefined;