🎤 Builder Talk: The Story Behind Lady Gaga’s Digital Experience – Register now
Back to changelog

Improved content serialization in Portable Text editor + bugfixes and improvements

✨ Highlights

Improved content serialization for copy-pasting in the Portable Text Editor

We’ve enhanced the way content is serialized to text/html when copying from a Portable Text input. Advanced formatting, such as lists and links, is now more reliably preserved when pasting into other applications like Notion or Word.

Additionally, copy-pasting between Portable Text fields in different documents is now more consistent. When pasting, Portable Text Editor (PTE) will intelligently filter out unsupported object types and annotations, ensuring that the rest of the content is pasted seamlessly.

🐛 Notable bugfixes

  • Fixes an issue where referencing a type of the same kind of document within a document would cause a maximum call stack size exceeded error during GraphQL schema generation.
  • Fixes an issue in which the history would fail to load if user opened the History → Review Changes → History panel.
  • Fixes an issue where Shopify Hydrogen, Remix and Astro apps with embedded studios using Presentation would see an error about calling env on undefined.

Install or upgrade Sanity Studio

To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.

If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.

Published January 28, 2025