Scrivito JS SDK 1.32.0 Released

Featuring edit.scrivito.com as the only ​editing interface

Posted on March 6, 2023

SDK uses edit.scrivito.com exclusively

Scrivito’s always up-to-date editing interface, edit.scrivito.com, is now always used for editing. It lets editors benefit from improvements from the moment they are made available.

If your app already uses edit.scrivito.com, you can skip this point, of course.

Some Scrivito users may not have come across edit.scrivito.com yet because Scrivito’s editing interface was also included in the SDK packages and could be evoked via example.com/scrivito. We continued to support the packaged Scrivito UI until version 1.31.0 to make it easier to transition to edit.scrivito.com. Starting with this release, the “example.com/scrivito” URL will redirect to “edit.scrivito.com/example.com” instead of opening the standalone UI.

If you are not yet using edit.scrivito.com to edit your website content, we recommend that you test your site against edit.scrivito.com prior to updating. Almost all Scrivito websites work without any flaws there, but sometimes small adjustments are needed.

See Making Content Editable via edit.scrivito.com for more information.

Further improvements

Better support for HTML in headlines

Some website designs call for markup in headlines, e.g. for supporting subscript and superscript. However, merely changing the type of the attribute concerned from string to html can have unwanted side effects because most HTML tags (including paragraphs) break the layout of a headline.

To solve this, HTML editing can now be limited to specific tags. For details, see Limiting HTML tags in the documentation.

Page language can be validated

It is now possible to define attribute validations for the _language system attribute. See the API documentation for details, or Implementing Automatic Content Validation for a tutorial.

API for retrieving an editor’s email address

The SDK’s Editor class, whose instances represent user data consisting of an editor’s ID, name, and team memberships, now also includes the editor’s email address.

API for obtaining the ordered list of an object’s children

Editors are already able to change the order of the subpages of a page. Now, developers can retrieve (and programmatically alter) the ordered subpages list as well using the new Obj#orderedChildren API method.

Further API changes or improvements

Scrivito.NotFoundErrorPage no longer wraps its children in an additional <div> tag.

Thanks again for using Scrivito!