[IMP] web_editor: update Jabberwock library to commit 4b2c903b
Changelog: [FIX] DomLayout: Make sure falsy attribute values are not transformed into null closes odoo/odoo#61875 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
This commit is contained in:
@@ -14624,7 +14624,7 @@ odoo.define('web_editor.jabberwock', (function(require) {
|
||||
const newAttributes = domObject.attributes || {};
|
||||
const oldAttributes = (old === null || old === void 0 ? void 0 : old.object.attributes) || {};
|
||||
for (const name in oldAttributes) {
|
||||
if (!newAttributes[name]) {
|
||||
if (typeof newAttributes[name] === 'undefined') {
|
||||
hasChanged = true;
|
||||
if (name === 'style') {
|
||||
for (const key in oldAttributes[name]) {
|
||||
|
||||
Reference in New Issue
Block a user