@vectoriox/iox-builder 10.0.0 → 10.0.1

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.
@@ -9409,6 +9409,9 @@ class BuilderComponent {
9409
9409
  }
9410
9410
  onDrop(event) {
9411
9411
  const { payload, insertIndex } = event;
9412
+ // The page root is a drop zone too: a global payload (the site header) is the host's, here as anywhere.
9413
+ if (this.dragEngine.routeGlobalPayload(payload.data))
9414
+ return;
9412
9415
  const changesParent = payload.type === 'external' || payload.sourceId !== 'canvas-preview';
9413
9416
  if (changesParent && this.dragEngine.refuseInsert(payload.data, []))
9414
9417
  return;