diff --git a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js index 82182ce5ab2..16dab0efd97 100644 --- a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js +++ b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js @@ -2168,6 +2168,8 @@ export class Wysiwyg extends Component { buttonGroup.classList.add('d-none'); } } + // Toolbar might have changed size, update its position. + this.odooEditor.updateToolbarPosition(); // Update color of already opened colorpickers. setTimeout(() => { for (const colorType in this.colorPalettesProps) {