Typographic transformations for Portable Text Editor and other improvements

Published: November 18, 2025

v4.16.0
Sanity Studio

✨ Highlights

Typographic transformations for Portable Text Editor

A typography plugin can now be enabled in all Portable Text inputs. It is completely configurable, and out of the box provides useful typographic transformations, such as smart quotes and turning -> into . To learn more about this plugin and its configuration options, visit the plugin repository.

Other features

  • It’s now possible to select values in the raw JSON document inspector.
  • Improved error handling in case of invalid custom reference filter.
  • Custom reference filters now receive the current perspective stack as a parameter and can return a modified perspective stack. This lets you filter reference options based on context – for example, limiting references to documents in the current release. See examples added here: 2f605ed.
  • The sanity media import command no longer requires data.ndjson in the target directory.

🐛 Notable bugfixes

  • Fixes bug where changing the time manually in an input when the timezone was selected would change the time based on the computer timezone.
  • Fixes an issue affecting reference search that would sometimes display versions outside of current release as Search returned a type that's not valid for this reference: "".
  • Fixes an issue where if a studio configuration did not have a studioHost property set, the sanity undeploy command might fail.
  • Enhanced object dialog (beta) improvements: fixes issue where array of object items with components?.item weren't opening the enhanced object dialog.