Test your website performance for free
Test your website performance

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

    Server-side access to restricted content via Node.js You can now also access restricted Scrivito content on a server, e.g. for archiving your website content. For this, the apiKey option was added to Scrivito.configure . See also Using Scrivito with Node.js. Scrivito = require("scrivito")...

  • Scrivito Editing Interface Improvements

    Latest updates to edit.scrivito.com

    All publish buttons now work the same The behavior of the “Publish” buttons in Scrivito’s editing interface has been improved and aligned: All of these buttons now directly open the confirmation dialog which now also includes a button for opening the “Changes” list and getting an overview of the...

  • Scrivito Editing Interface Improvements

    Latest changes to edit.scrivito.com

    The active Content Browser tab is preserved The Content Browser sometimes prevented editors from quickly inspecting the properties of multiple objects one after the other. When the user selects another object of the same type, the active tab now remains open. Thank you for using Scrivito! Please...

  • Scrivito Editing Interface Improvements

    Latest changes to edit.scrivito.com

    A distinctive icon for new and changed images Editors mainly have to deal with two types of content objects: pages and images. To make it easier to spot such objects for reviewing them, a dedicated icon for images is now displayed in the “Changes” sidebar and dialog. Thank you for using Scrivito!...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.30.0 Released – Featuring Layout Components

    Introducing layout components, optionally with editable content You can now implement page-type-specific layout components and optionally have them render attributes for editor-defined content. If such layouts are present for a page that is part of the page hierarchy, the layout components of the...

  • Scrivito for Rails SDK 1.18.0 Released

    Added support for Ruby on Rails 7.0 The Scrivito for Rails SDK now supports Ruby on Rails 7.0. It requires Ruby 2.7 or later. Earlier Rails versions are no longer supported by Scrivito. Note that during the upgrade you will need to migrate from Rails 5.2 (with Scrivito 1.17.0 ) directly to Rails...

  • Scrivito JS SDK 1.29.0 Released

    Reducing the payload for your website visitors You’ve probably already noticed that Scrivito’s editing interface is highly configurable through editing configurations that allow the developer to specify, for example, which page properties the editors should be able to adjust. Since website...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.28.0 Released

    Duplicating parent pages For the convenience of editors, pages with subpages, i.e. page hierarchies as a whole, can now be duplicated, obviating the need to copy and then paste the pages individually. Email address as a tooltip when hovering over a user’s name For identifying users better...

  • Scrivito JS SDK 1.27.1 Bugfix Release

    Bugfixes obj.copy() now works again In previous Scrivito JS SDK versions, the obj.copy() instance method did not always work as designed. Now it does. Please accept our apologies for any inconvenience caused by this issue.

  • Scrivito JS SDK 1.27.0 Released

    More versatile “Changes” sidebar Like on the “Hierarchy” sidebar, the pages listed on the “Changes” panel now also feature a menu command for opening their respective properties, meaning that you no longer need to navigate to a page just to open its properties. Furthermore, the items on the...