@kaitify/core 0.0.2-beta.8 → 0.0.2-beta.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -37330,7 +37330,7 @@ class Editor {
37330
37330
  config.children = [];
37331
37331
  }
37332
37332
  let node = KNode.create(config);
37333
- if (!closed) {
37333
+ if (!node.isClosed()) {
37334
37334
  Array.from(dom.childNodes).forEach((child) => {
37335
37335
  if (child.nodeType == 1 || child.nodeType == 3) {
37336
37336
  const childNode = this.domParseNode(child);
@@ -37345,6 +37345,7 @@ class Editor {
37345
37345
  }
37346
37346
  if (typeof this.onDomParseNode == "function") {
37347
37347
  node = this.onDomParseNode.apply(this, [node]);
37348
+ console.log("node", node);
37348
37349
  }
37349
37350
  return node;
37350
37351
  }