[FIX] web_editor: image overlay did not update with changes
The blue overlay on the snippet currently being edited did not update when the size or place of the element changed. The overlay is now edited on each Jabberwock commit. closes odoo/odoo#61716 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
This commit is contained in:
@@ -400,6 +400,7 @@ var Wysiwyg = Widget.extend({
|
||||
}
|
||||
}
|
||||
this.snippetsMenu.updateJabberwockToolbarContainer(currentSelectionType);//.bind(this.snippetsMenu);
|
||||
this.snippetsMenu.updateCurrentSnippetEditorOverlay();
|
||||
|
||||
if (params.commandNames.includes('undo') || params.commandNames.includes('redo')) {
|
||||
setTimeout(() => {
|
||||
|
||||
Reference in New Issue
Block a user