We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d59d9aa commit 9278479Copy full SHA for 9278479
utils/editors/html/auto-save/v2.0/auto-save-v2.0.html
@@ -103,9 +103,10 @@
103
var content = [...host.shadowRoot.childNodes];
104
105
const parent = host.parentNode;
106
+var host2=host.cloneNode(true);
107
const next = host.nextSibling;
108
parent.removeChild(host);
-parent.insertBefore(host, next);
109
+parent.insertBefore(host2, next);
110
111
var shadow = host.attachShadow({mode:'open',customElements:{}});
112
shadow.append(...content);
0 commit comments