[FIX] web_editor: use the proper serialize method
Use the method serializeNode of the editor rather than directly the one from utils in order to only serialize when the collaboration is active. closes odoo/odoo#76143 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
This commit is contained in:
@@ -904,7 +904,7 @@ export class OdooEditor extends EventTarget {
|
||||
type: 'add',
|
||||
append: 1,
|
||||
id: node.oid,
|
||||
node: serializeNode(node),
|
||||
node: this.serializeNode(node),
|
||||
})),
|
||||
id: this._generateId(),
|
||||
clientId: this.clientId,
|
||||
|
||||
Reference in New Issue
Block a user