Skip to content

Commit 228c546

Browse files
committed
fix: (WIP!) fix weirdest bug ever
How did this ever work before? I'm flabbergasted.
1 parent 462f62d commit 228c546

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

handleEdit.spec.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,6 @@ describe("handleEdit", () => {
267267
return true;
268268
},
269269
),
270-
{
271-
seed: 1017362841,
272-
path: "1",
273-
},
274270
)).timeout(20000);
275271

276272
it("changes the document the same way when redoing undone edits", () =>

handleEdit.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@ function handleSetAttributes({
7373
[name]: element.getAttributeNS(ns, name.split(":").pop()!),
7474
};
7575
});
76-
Object.keys(attrs!).forEach((name) => {
77-
delete oldAttributesNS[ns]![name];
78-
});
7976
});
8077

8178
// change element's namespaced attributes

0 commit comments

Comments
 (0)