@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.
- package/dist/cjs/index.development.js +9 -3
- package/dist/cjs/index.development.js.map +1 -1
- package/dist/cjs/index.js +9 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.production.js +9 -3
- package/dist/cjs/index.production.js.map +1 -1
- package/dist/designer/dragon.d.ts +9 -2
- package/dist/document/node/node.d.ts +1 -0
- package/dist/esm/index.development.js +9 -3
- package/dist/esm/index.development.js.map +1 -1
- package/dist/esm/index.js +9 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.production.js +9 -3
- package/dist/esm/index.production.js.map +1 -1
- package/dist/index.js +9 -3
- package/package.json +1 -1
|
@@ -7330,6 +7330,9 @@ let Node$1 = class Node {
|
|
|
7330
7330
|
setExtraPropValue(key, value) {
|
|
7331
7331
|
this.setPropValue(getConvertedExtraKey(key), value);
|
|
7332
7332
|
}
|
|
7333
|
+
clearExtraPropValue(key) {
|
|
7334
|
+
this.getProp(getConvertedExtraKey(key), false)?.unset();
|
|
7335
|
+
}
|
|
7333
7336
|
clearPropValue(path) {
|
|
7334
7337
|
this.getProp(path, false)?.unset();
|
|
7335
7338
|
}
|
|
@@ -9025,7 +9028,7 @@ class Dragon {
|
|
|
9025
9028
|
if (!dragObject) {
|
|
9026
9029
|
return;
|
|
9027
9030
|
}
|
|
9028
|
-
this.boost(dragObject, e);
|
|
9031
|
+
this.boost(dragObject, e, shell);
|
|
9029
9032
|
};
|
|
9030
9033
|
if (eventType === 'drag') {
|
|
9031
9034
|
shell.draggable = true;
|
|
@@ -9041,7 +9044,7 @@ class Dragon {
|
|
|
9041
9044
|
};
|
|
9042
9045
|
}
|
|
9043
9046
|
}
|
|
9044
|
-
boost(dragObject, boostEvent) {
|
|
9047
|
+
boost(dragObject, boostEvent, shell) {
|
|
9045
9048
|
const {
|
|
9046
9049
|
designer
|
|
9047
9050
|
} = this;
|
|
@@ -9089,7 +9092,10 @@ class Dragon {
|
|
|
9089
9092
|
doc.addEventListener('keydown', checkEsc, false);
|
|
9090
9093
|
});
|
|
9091
9094
|
}
|
|
9092
|
-
this.emitter.emit(DRAGON_EVENT.DRAGSTART,
|
|
9095
|
+
this.emitter.emit(DRAGON_EVENT.DRAGSTART, {
|
|
9096
|
+
...locateEvent,
|
|
9097
|
+
shell
|
|
9098
|
+
});
|
|
9093
9099
|
};
|
|
9094
9100
|
const move = e => {
|
|
9095
9101
|
if (isBoostFromDragAPI) {
|