@easy-editor/core 0.0.9 → 0.0.10

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.
@@ -7328,6 +7328,9 @@ let Node$1 = class Node {
7328
7328
  setExtraPropValue(key, value) {
7329
7329
  this.setPropValue(getConvertedExtraKey(key), value);
7330
7330
  }
7331
+ clearExtraPropValue(key) {
7332
+ this.getProp(getConvertedExtraKey(key), false)?.unset();
7333
+ }
7331
7334
  clearPropValue(path) {
7332
7335
  this.getProp(path, false)?.unset();
7333
7336
  }
@@ -9023,7 +9026,7 @@ class Dragon {
9023
9026
  if (!dragObject) {
9024
9027
  return;
9025
9028
  }
9026
- this.boost(dragObject, e);
9029
+ this.boost(dragObject, e, shell);
9027
9030
  };
9028
9031
  if (eventType === 'drag') {
9029
9032
  shell.draggable = true;
@@ -9039,7 +9042,7 @@ class Dragon {
9039
9042
  };
9040
9043
  }
9041
9044
  }
9042
- boost(dragObject, boostEvent) {
9045
+ boost(dragObject, boostEvent, shell) {
9043
9046
  const {
9044
9047
  designer
9045
9048
  } = this;
@@ -9087,7 +9090,10 @@ class Dragon {
9087
9090
  doc.addEventListener('keydown', checkEsc, false);
9088
9091
  });
9089
9092
  }
9090
- this.emitter.emit(DRAGON_EVENT.DRAGSTART, locateEvent);
9093
+ this.emitter.emit(DRAGON_EVENT.DRAGSTART, {
9094
+ ...locateEvent,
9095
+ shell
9096
+ });
9091
9097
  };
9092
9098
  const move = e => {
9093
9099
  if (isBoostFromDragAPI) {