Sanity Studio v3.93.0: Single line Portable Text input + improvements and bugfixes

✨ Highlights

Adds a boolean oneLine option to the block schema type which, when set to true, will render the Portable Text Editor as a single line input

defineField({
type: 'array',
name: 'oneLineEditor',
title: 'One-Line Editor',
description: 'This editor is restricted to one line of text',
of: [
defineArrayMember({
type: 'block',
+ options: {
+ oneLine: true,
+ },
}),
],
}),

Improves 'next steps' copy in CLI after setting up a new App SDK project

Fixes link rot in README (Thanks @JoanCTO! )

🐛 Notable bugfixes

Fixes an issue where modals corresponding to out of viewport list items would close when shifting focus in Presentation

Fixes an issue that could cause error details to be lost when running sanity schema extract

Fixes an issue that would sometimes cause the Presentation tool's location resolver banner to show up despite not resolving to any location in front end

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.