@portabletext/editor 1.42.0 → 1.42.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.
|
@@ -6631,7 +6631,7 @@ const editorMachine = setup({
|
|
|
6631
6631
|
event: event.behaviorEvent
|
|
6632
6632
|
}, shouldRun));
|
|
6633
6633
|
for (const actionSet of actionSets)
|
|
6634
|
-
|
|
6634
|
+
actionSet.length !== 0 && (behaviorOverwritten = behaviorOverwritten || actionSet.some((action) => action.type !== "effect"), withApplyingBehaviorActionSet(event.editor, () => {
|
|
6635
6635
|
for (const action of actionSet) {
|
|
6636
6636
|
if (action.type === "raise") {
|
|
6637
6637
|
isCustomBehaviorEvent(action.event) ? enqueue.raise({
|
|
@@ -6662,7 +6662,7 @@ const editorMachine = setup({
|
|
|
6662
6662
|
break;
|
|
6663
6663
|
}
|
|
6664
6664
|
}
|
|
6665
|
-
}), event.editor.onChange();
|
|
6665
|
+
}), event.editor.onChange());
|
|
6666
6666
|
if (behaviorOverwritten) {
|
|
6667
6667
|
event.nativeEvent?.preventDefault();
|
|
6668
6668
|
break;
|