@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.
@@ -6673,7 +6673,7 @@ function isCustomBehaviorEvent(event) {
6673
6673
  }
6674
6674
  const debug$2 = debugWithName("behaviors:event");
6675
6675
  function eventCategory(event) {
6676
- return isNativeBehaviorEvent(event) ? "native" : isAbstractBehaviorEvent(event) ? "abstract" : isCustomBehaviorEvent(event) ? "custom" : "synthetic";
6676
+ return isNativeBehaviorEvent(event) ? "native" : isAbstractBehaviorEvent(event) ? "synthetic" : isCustomBehaviorEvent(event) ? "custom" : "synthetic";
6677
6677
  }
6678
6678
  function performEvent({
6679
6679
  mode,
@@ -6685,7 +6685,7 @@ function performEvent({
6685
6685
  getSnapshot,
6686
6686
  nativeEvent
6687
6687
  }) {
6688
- debug$2(`(${eventCategory(event)})`, JSON.stringify(event, null, 2));
6688
+ debug$2(`(${isNativeBehaviorEvent(event) ? "" : `${mode}:`}${eventCategory(event)})`, JSON.stringify(event, null, 2));
6689
6689
  const defaultAction = isCustomBehaviorEvent(event) || isNativeBehaviorEvent(event) || isAbstractBehaviorEvent(event) ? void 0 : {
6690
6690
  ...event,
6691
6691
  editor