Bug and improvement fixes

Published: January 27, 2026

v5.7.0
Sanity Studio

🐛 Notable bugfixes and improvements

  • When selecting text in the Portable Text Editor with multiple overlapping annotations (e.g., a link that is also formatted as inline code), the editor now shows a single combined popover with one row per annotation, instead of multiple overlapping popovers.
  • Copy/paste now works correctly for arrays with anonymous objects (inline object definitions without a name). Previously these would fail with a type mismatch error.
  • Copy/paste now preserves empty marks and markDefs arrays in Portable Text blocks. Previously these fields were incorrectly stripped during paste operations.
  • Validation inspector now correctly displays path titles for anonymous objects in arrays.
  • Adds the ability to clear radio field selections via a new Clear button.
  • Clicking the Close button in a dialog for a nested object input will now step incrementally backwards through the nested structure before finally closing the whole dialog.
    • Example: with an object with the following breadcrumb Animals / #1 Shark / Description / Item: [{Content: ... when pressing the x at the top right:
      Before: the whole dialog would close.
      After: the dialog will remain open with Animals / #1 Shark in focus.
  • Self-updating studios now flag the correct latest available version for upgrading.
  • Pasting content copied from a Portable Text input will now result in clean plain text or semantic HTML depending on what the destination input expects.