Unlock seamless workflows and faster delivery with our latest releases – get the details
Back to changelog

Sanity Studio Update: Enhanced Portable Text Editor, Bugfixes, and Automatic Key Creation for PTE Children

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.

✨ Highlights

  • The Portable Text Editor (PTE) now supports drag-n-dropping + pasting of images and files into Image and File blocks.

🐛 Notable bugfixes

  • Fixes a bug where importing a variable inside an imported file would fail in Typegen.
  • Fixes issues in the PTE where tools would show as being active for a selection when only part of the selection used the tool. Now tools will show as active only when all highlighted selections use the tool.
  • Fixes an Attempted import error related to using swr in embedded studios.
  • Fixes an issue in which listeners would sometimes not close if they were unsubscribed from shortly after opening.
  • Fixes an issue in which users were incorrectly seeing the scheduled publishing upsell UI.
  • When child within the PTE is created without a _key, we now automatically create one for it, avoiding unnecessary warning.
  • Fixes an issue in tasks in which the UI showed that they were created but the transaction didn't end.

Documentation affected by this release

Published May 14, 2024