Skip to content

Commit b9fc5ea

Browse files
author
Emilien Durieu (edu)
committed
[FIX] no rollback when adding unremovable node
1 parent 6a4d974 commit b9fc5ea

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/editor.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,9 +327,6 @@ export class OdooEditor extends EventTarget {
327327
}
328328
case 'childList': {
329329
record.addedNodes.forEach(added => {
330-
this._toRollback =
331-
this._toRollback ||
332-
(containsUnremovable(added) && UNREMOVABLE_ROLLBACK_CODE);
333330
const mutation = {
334331
'type': 'add',
335332
};

0 commit comments

Comments
 (0)