miaoda-expo-devkit 0.1.1-beta.33 → 0.1.1-beta.34
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.
|
@@ -348,8 +348,10 @@ class EditorController {
|
|
|
348
348
|
if (!this.activeNode) return;
|
|
349
349
|
this.stopObservingActiveNode();
|
|
350
350
|
this.clearSiblingHighlights();
|
|
351
|
-
|
|
351
|
+
const nodeToDelete = this.activeNode;
|
|
352
|
+
removeActiveAttr(nodeToDelete);
|
|
352
353
|
this.activeNode = null;
|
|
354
|
+
nodeToDelete.remove();
|
|
353
355
|
postToParent("iframe-node-clear");
|
|
354
356
|
}
|
|
355
357
|
}
|