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.
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.
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.
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.
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
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.
Scrivito.NotFoundErrorPage
no longer wraps its children in an additional <div> tag.
Thanks again for using Scrivito!
Interface Builder improvements Using attributes of the current page context Attributes of the current page and its ancestors are now available to editors as placeholders and as a data source (datalocator). Note that only attributes of the string type that are also included as attributes in the...
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...
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!
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!
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...
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...
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...
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!
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()...
> > 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...