Scrivito JS SDK 1.51.0 Released

Posted on June 2, 2025

Improvements

WYSIWYG abbreviation support

To meet the highest accessibility standards (WCAG AAA), abbreviations and acronyms need to be clearly recognizable for all readers. Editors can now mark up abbreviations directly in the content using the new “Abbreviation” button in the text toolbar.

With the right styling, this addition can significantly improve the accessibility and clarity of your content. For more information, see Customizing the in-place editing toolbar.

Further reading

Added support for React 19

Next to React 18, Scrivito now supports React 19, providing a more modern development foundation, higher performance and a seamless user and developer experience. A more reliable interface, faster loading times, and more responsive interactions are all made possible by the most recent developments in React. With React 19, the Scrivito.Extensions component is now mandatory, as the legacy ReactDOM.render path has been removed. The latest SDK version that supports React 17 is 1.50.0.

Layout components rendered intermediately during loading time

Scrivito.provideLayoutComponent now lets you give proper feedback to the visitor in cases where the actual component requires some time to load and render itself. This usually short time gap can now be bridged by temporarily displaying, for example, a spinner, which can be accomplished using the new options parameter that lets you specify a loading component. See the API documentation for an example.

Requiring users to log in via a specific identity provider

It is now possible to specify an identity provider when ensuring that the application user is logged in: Scrivito.ensureUserIsLoggedIn({ idp: "https://my.website.idp.com" }).

Using enum attribute value names as placeholders

The Scrivito SDK now replaces enum value names of external data that are used as placeholders with their display values (titles). For example, if an enum attribute is defined like shown below, the placeholders __work__ and __done__ would be replaced with “In progress” and “Done”, respectively, and not with “work” and “done”.

Thank you for using Scrivito!