@portabletext/editor 1.47.13 → 1.47.14

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.
@@ -6646,7 +6646,7 @@ function isCustomBehaviorEvent(event) {
6646
6646
  }
6647
6647
  const debug$2 = debugWithName("behaviors:event");
6648
6648
  function eventCategory(event) {
6649
- return isNativeBehaviorEvent(event) ? "native" : isAbstractBehaviorEvent(event) ? "abstract" : isCustomBehaviorEvent(event) ? "custom" : "synthetic";
6649
+ return isNativeBehaviorEvent(event) ? "native" : isAbstractBehaviorEvent(event) ? "synthetic" : isCustomBehaviorEvent(event) ? "custom" : "synthetic";
6650
6650
  }
6651
6651
  function performEvent({
6652
6652
  mode,
@@ -6658,7 +6658,7 @@ function performEvent({
6658
6658
  getSnapshot,
6659
6659
  nativeEvent
6660
6660
  }) {
6661
- debug$2(`(${eventCategory(event)})`, JSON.stringify(event, null, 2));
6661
+ debug$2(`(${isNativeBehaviorEvent(event) ? "" : `${mode}:`}${eventCategory(event)})`, JSON.stringify(event, null, 2));
6662
6662
  const defaultAction = isCustomBehaviorEvent(event) || isNativeBehaviorEvent(event) || isAbstractBehaviorEvent(event) ? void 0 : {
6663
6663
  ...event,
6664
6664
  editor