@portabletext/editor 2.6.4 → 2.6.5

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.
package/lib/index.cjs CHANGED
@@ -3688,7 +3688,7 @@ const moveBackwardOperationImplementation = ({
3688
3688
  },
3689
3689
  blockIndexMap: operation.editor.blockIndexMap
3690
3690
  });
3691
- newSelection ? slate.Transforms.select(operation.editor, newSelection) : slate.Transforms.deselect(operation.editor);
3691
+ newSelection ? slate.Transforms.select(operation.editor, newSelection) : slate.Transforms.deselect(operation.editor), slateDom.IS_FOCUSED.get(operation.editor) && slateDom.IS_READ_ONLY.get(operation.editor) && slateDom.IS_FOCUSED.set(operation.editor, !1);
3692
3692
  }, behaviorOperationImplementations = {
3693
3693
  "annotation.add": addAnnotationOperationImplementation,
3694
3694
  "annotation.remove": removeAnnotationOperationImplementation,