@portabletext/editor 1.33.6 → 1.34.0

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.
@@ -1022,7 +1022,10 @@ export declare type SyntheticBehaviorEvent =
1022
1022
  | {
1023
1023
  type: 'decorator.add'
1024
1024
  decorator: string
1025
- selection?: NonNullable<EditorSelection>
1025
+ offsets?: {
1026
+ anchor: BlockOffset
1027
+ focus: BlockOffset
1028
+ }
1026
1029
  }
1027
1030
  | {
1028
1031
  type: 'decorator.remove'
@@ -1022,7 +1022,10 @@ export declare type SyntheticBehaviorEvent =
1022
1022
  | {
1023
1023
  type: 'decorator.add'
1024
1024
  decorator: string
1025
- selection?: NonNullable<EditorSelection>
1025
+ offsets?: {
1026
+ anchor: BlockOffset
1027
+ focus: BlockOffset
1028
+ }
1026
1029
  }
1027
1030
  | {
1028
1031
  type: 'decorator.remove'