@portabletext/editor 1.48.1 → 1.48.2

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.
@@ -6707,10 +6707,10 @@ function performEvent({
6707
6707
  }, shouldRun);
6708
6708
  if (actions.length !== 0) {
6709
6709
  if (actions.some((action) => action.type === "execute")) {
6710
- nativeEventPrevented = !0, withUndoStep(editor, () => {
6710
+ withUndoStep(editor, () => {
6711
6711
  for (const action of actions) {
6712
6712
  if (action.type === "effect") {
6713
- performAction({
6713
+ nativeEventPrevented = !0, performAction({
6714
6714
  context: {
6715
6715
  keyGenerator,
6716
6716
  schema: schema2
@@ -6738,7 +6738,7 @@ function performEvent({
6738
6738
  continue;
6739
6739
  }
6740
6740
  if (action.type === "raise") {
6741
- performEvent({
6741
+ nativeEventPrevented = !0, performEvent({
6742
6742
  mode: "raise",
6743
6743
  behaviors,
6744
6744
  remainingEventBehaviors: behaviors,
@@ -6752,7 +6752,7 @@ function performEvent({
6752
6752
  continue;
6753
6753
  }
6754
6754
  if (isAbstractBehaviorEvent(action.event))
6755
- performEvent({
6755
+ nativeEventPrevented = !0, performEvent({
6756
6756
  mode: "execute",
6757
6757
  behaviors,
6758
6758
  remainingEventBehaviors: behaviors,
@@ -6791,7 +6791,7 @@ function performEvent({
6791
6791
  }
6792
6792
  for (const action of actions) {
6793
6793
  if (action.type === "effect") {
6794
- performAction({
6794
+ nativeEventPrevented = !0, performAction({
6795
6795
  context: {
6796
6796
  keyGenerator,
6797
6797
  schema: schema2