Scrivito JS SDK 1.32.0 Released

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

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.

  • 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!

More great blog posts from Andreas Viebke

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.45.0 RC 1 Released

    Interface Builder Supports Further Attribute Types for Filtering

    Interface Builder improvements Filtering data by enum, boolean, date, and number attributes The Interface Builder’s data editor now also lets you filter data by attributes of the enum , boolean , date , and number types. This makes it much more convenient and intuitive to select and present data...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.44.2 Released

    Bugfix Release An issue with Scrivito.useDataLocator has been fixed. It prevented filters with reference data attributes from being evaluated properly. We apologize for any inconvenience this issue may have caused! Thanks again for using Scrivito!

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.44.1 Released

    Maintenance release This is a maintenance release with minor improvements. As always, we will keep you posted if there is anything interesting to report. Stay tuned! Thanks again for using Scrivito!

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.44.0 Released

    Interface Builder improvements LinkTag supports data items The LinkTag component now supports data items as navigation targets. Passing a DataItem to the to prop causes the link to point to the details page of the item concerned. Accessing current data of a specific class The useDataScope and...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.43.0 Released

    Interface builder improvements Data attributes For the application to utilize the attributes selected by content editors, the Scrivito SDK now includes a (beta) API for representing data attributes, DataItemAttribute . A data item attribute can be accessed from a data item via...

  • Providing Data Classes with Custom Attributes

    Latest updates to edit.scrivito.com

    Defining custom attributes via the Interface Builder’s data editor The data editor now lets you add custom attributes to data classes. If, for example, you have a “Current user” data class that requires an attribute not specified in the editing configuration of this class, e.g., “email”, you can...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.42.1 Released

    Bugfixes Data integration issue > DataItem#get > no longer requires a loading context, i.e., > Scrivito.load > or > Scrivito.connect > . We apologize for any inconvenience the above issue may have caused! Thank you for using Scrivito!

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.42.0 Released

    Interface Builder improvements DataScope#limit() API method The new DataScope#limit() method determines the maximum number of data items a DataScope may contain. It returns either a number indicating this limit, or undefined if no limit is set. Introducing Scrivito.currentLanguage()...

  • Introducing the ​New Data Editor

    Latest updates to edit.scrivito.com

    > > As you may have noticed, we have been continuously refining and expanding the Interface Builder. Now the time has come for a correspondingly enhanced data editor. > > The new data editor comes with an intuitive interface that provides a visual representation of a data locator as well as...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.41.0 Released

    Interface Builder improvements Accessing a data scope from the current data It is now possible to access a DataScope from the current data using the new Scrivito.useData hook (which supersedes the Scrivito.useDataItem hook). The new hook always returns a DataScope . In order to check whether this...