Scrivito JS 1.6.0 – More Editing Tools & Progressive Image Loading

Major improvements

Reverting changes and restoring widgets

Scrivito now lets editors revert the changes made to individual widgets. For this, corresponding menu items are available in the respective widget menus. Furthermore, in the “Changes” view mode, a deleted widget can now be restored to its published version if available.

Replacing images and other binaries made easy

Sometimes, images need to be updated – wherever they are used on the website, once or multiple times, the new versions should be displayed in place of the outdated ones.

We have made that exponentially easier for your editors. Now, editors can just find and select the image in the Content Browser and then drag and drop the replacement image onto the preview of the current one. The filename and the metadata of the image object will be updated as well; other attributes aren’t touched. That’s it, no longer is there a need to create a new image object and update all the pages which reference it!

By the way, the same also applies to other binaries like PDF files.

Improved working copy ordering in the sidebar

Like us, a good deal of our customers differentiate between editors and chief editors when their plan includes the Editor Permission Control System (Company plan and above). Chief editors and Admins have access not only to their own but to many more if not all working copies in their Scrivito CMS. With so many working copies on the sidebar, finding the one to work with could be difficult, depending on its position in the list. The reason for this was that, apart from the published content, all working copies appeared in just one group, “Other working copies”, sorted alphabetically, independently of their owner.

To improve the usability of the working copy list, we’ve added another group to it, “My working copies”, in which only those working copies show up that are (co-)owned by the current user. The “Other working copies” group is still there but is visible to chief editors and admins only. The new “My working copies” group is, of course, sorted alphabetically as well.

Also, for consistency, the selected working copy now remains in its list.

In-place editing for rel attribute values

For even more convenience when editing text in place, Scrivito’s link editor has been extended so as to support setting the contents of a link’s rel attribute. The purpose of this attribute is to instruct search engines regarding the treatment of the link and its destination. To do this, after selecting text and choosing the link icon, just click the gear icon at the top right and tick the desired keywords to be included in the attribute value.

Progressive background image loading

To improve visitor experience in low-bandwidth situations, the Scrivito.BackgroundImageTag component now loads background images progressively if they haven’t been transformed. This lets the visitor initially see at least a low-resolution version of the background image – instead of no image at all.

Once loading the high resolution image in the background has finished, it replaces the smaller low resolution version. With speedy connections, the visitor will hardly notice a difference.

Further improvements and changes

Fetching all search results: ObjSearch#toArray

Search query instances now have a method for fetching all search results, toArray(). Previously, one had to use the spread operator to convert the search results to an array, like in a = [...Scrivito.Obj.all()]. This can now be written as a = Scrivito.Obj.all().toArray().

The Scrivito.LinkTag React component now allows you to pass the params prop to it for having URL parameters rendered.

Bugfixes

  • Changes list sort order

    The sort order dropdown menu of the changes list dialog is working properly again.

  • Autocompletion with string lists

    When adding strings (e.g. tags) to attributes of the stringlist type, editors are now always able to ignore the autocompletion suggestion (by not selecting it). Previously, if there was exactly one suggestion (e.g. website) and the input started with (but was shorter than) the suggested string (e.g. web), adding the input as a new string was only possible by temporarily accepting the unwanted suggestion.

Learn more about enterprise SaaS CMS Scrivito

More great blog posts from Andreas Viebke

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.49.1 Released

    Bugfix Release Editing interface issue with ImageTag An issue where using ImageTag with the loading="lazy" attribute could prevent image selection has been resolved. Adding an image widget without a preselected image now displays the clickable placeholder again. We apologize for any inconvenience...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.49.0 Released

    Interface Builder improvements Layout editing mode This new editing mode separates content editing from layout adjustments. In content editing mode, layout elements can only be viewed. To modify them, simply switch to layout editing mode. This clear distinction between content and layout...

  • Introducing Sophisticated Page Access Control

    Latest updates to edit.scrivito.com

    Tailoring page visibility to teams and visitor groups With Scrivito Web Interface Builder, editors have visibility categories available to restrict who can access which pages. As an editor who has been granted permission to manage custom visibility categories, you can now create such categories...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.48.1 Released

    This is a bugfix release. Fixed bugs Binary upload API is less strict again Regarding undefined option values, the Binary.upload API method now works as it did prior to version 1.48.0 of the JS SDK. Such undefined values no longer produce an error. We apologize for any inconvenience this may have...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.48.0 Released

    Interface Builder improvements Retrieving data classes by their name A new API method, Scrivito.getDataClass , has been added as a native method for retrieving data classes by their name, obviating the need for custom lookup code. This method complements Scrivito.getClass for accessing object and...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.47.0 Released

    Interface Builder improvements Filtering dates and numbers The filtering options of the data editor have been extended. You can now filter dates and numbers using the following operators: gt (greater than), lt (less than), gte (greater than or equal to), and lte (less than or equal to). These new...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.46.0 Released

    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...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.45.0 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!