First draft of diff editor v2.

This commit is contained in:
Henning Dieterichs
2023-05-26 15:19:59 +02:00
parent d939e5d08f
commit 397f2e7c34
29 changed files with 2169 additions and 43 deletions

View File

@@ -1865,7 +1865,7 @@ export function h(tag: string, ...args: [] | [attributes: { $: string } & Partia
el.appendChild(c);
} else if (typeof c === 'string') {
el.append(c);
} else {
} else if ('root' in c) {
Object.assign(result, c);
el.appendChild(c.root);
}