Jelajahi Sumber

feat: also hide placeholder node

Jonathan Kelley 3 tahun lalu
induk
melakukan
eb13884
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  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;
   }