Test your website performance for free
Test your website performance

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 visitors don’t require these configurations, we made it possible to skip them while the website is initializing, depending on whether an editor is logged into the editing interface or not.

Using this option can slightly increase the page loading speed for visitors. See Scrivito.provideEditingConfig for details.

Keeping copied pages and widgets consistent

The Scrivito JS SDK lets you define callbacks by means of which new content created by an editor can be complemented or adjusted in the background to align it with your website’s functioning or appearance.

Version 1.14.0 of the Scrivito SDK had introduced the possibility to provide an object-class-specific callback function, initializeCopy, for initializing pages that are created by copying using the editing interface. This option has been enhanced in two ways:

First, if an editor duplicates or copies and pastes a page that has subpages, initializeCopy is now also called for all the individual pages that are created in this process.

Second, the initializeCopy callback can now also be defined for widget classes, meaning that duplicated or pasted widgets, including those nested within them, can be checked or altered as needed. As a consequence, if an editor copies a page or a hierarchy of pages, the initializeCopy callbacks of all the pieces of content involved are triggered, all the way down to the deepest widget layers. See the documentation on Scrivito.provideEditingConfig for further details.

Further improvements

  • Instant widget creation

    If an empty widget list is restricted to widgets of a single type, clicking its plus button now immediately adds a widget of this type to the list unless the clipboard contains such a widget. In the latter case, the well-known menu (“Add widget”, “Paste widget”) is opened like before so the editor can insert either a new widget or the one on the clipboard.

  • Fixed bugs

    • Assigning a very long name to a binary CMS object like an image no longer causes the editing interface to become unresponsive. Instead, the user is now presented with a message stating that the length of file names must not exceed 200 characters.
    • It is now no longer possible to publish a working copy in which the same permalink has been assigned to a different page than in the published content. In such cases, a corresponding error message is displayed.
    • A user interface bug related to global state changes was fixed.

Thanks again for using 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 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...

  • Scrivito JS SDK 1.26.0 Released – Featuring Support for Lazy Image Loading

    Improved website performance through lazy image loading Native lazy-loading is a modern web technology that has been implemented by all major browser vendors in the recent years. It defers loading images until they are scrolled into view and thus reduces the bandwidth needed for a page to be...