👀 Our most exciting product launch yet 🚀 Join us May 8th for Sanity Connect
Back to changelog

Portable Text Editor Input migrated to Sanity UI

Portable Text Editor Input migrated to Sanity UI

We have now migrated the Portable Text (PT) editor in the Sanity Studio to use Sanity UI. This marks the completion of the migration of the entire Studio to @sanity/ui.

OLD! Portable Text Editor in v2.21.11
NEW! Portable Text Editor in v2.22.0

In addition to the migration:

  • Generally improved stability and performance of the PT editor.
  • Added a new affordance for editing/removing text annotations. This will make it easier to e.g. edit link details.
  • Fixed a bug where undo/redo history was not maintained in memory when collapsing/expanding the editor.

Other features

  • Allows plan selection with sanity init --project-plan <plan>
  • Improves usability of ValidationError by making cloneWithMessage optional

Published November 16, 2021