Skip to content

Commit 0ae06f7

Browse files
save file
1 parent bcde1e3 commit 0ae06f7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

utils/editors/html/auto-save/v2.0/auto-save-v2.0.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,15 @@
100100

101101
obj.init = function(){
102102

103-
var content = host.shadowRoot.cloneNode(true);
103+
var content = [...host.shadowRoot.childNodes];
104104

105105
var shadow2 = host.attachShadow({mode:'open',customElements:{}});
106106
var registry = shadow.customElements;
107107

108108
registry.define('check-box',checkbox);
109109

110-
shadow2.append(content);
110+
shadow2.append(...content);
111+
111112

112113

113114
}//init

0 commit comments

Comments
 (0)