Browse Source

feat: also hide placeholder node

Jonathan Kelley 3 năm trước cách đây
mục cha
commit
eb13884
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      packages/desktop/src/index.js

+ 1 - 0
packages/desktop/src/index.js

@@ -321,6 +321,7 @@ class Interpreter {
 
   CreatePlaceholder(edit) {
     let el = document.createElement("pre");
+    el.hidden = true;
     this.stack.push(el);
     this.nodes[edit.root] = el;
   }