Sfoglia il codice sorgente

feat: also hide placeholder node

Jonathan Kelley 3 anni fa
parent
commit
eb13884
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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;
   }