Scrivito JS SDK 1.25.0 Released – Featuring TypeScript Support

BETA

Introducing TypeScript definitions

Under the hood, Scrivito has been using TypeScript for quite a while now, and it’s time to let Scrivito application developers benefit from TypeScript as well. Developing Scrivito apps is now much faster and less error prone than ever.

This Scrivito SDK release is the first to include types. See Getting Started with TypeScript for details. – Note that we’re reserving the right to rename or adjust the definitions during the beta phase.

We would highly appreciate your feedback on what you would like to see improved, extended, or altered.

Editing interface improvements

  • Copypasting including subpages

    Like “Paste as subpage”, this new menu command places a copy of the page on the clipboard underneath the current page. However, subpages are included, meaning that any site section (i.e. partial page hierarchy) can be duplicated, provided that the user’s permissions are sufficient for this.

  • Displaying thumbnails in the Content Browser

    To enable editors to better distinguish the various page, image, etc., types of content in the Content Browser, developers can now assign thumbnails to them. For this, a new callback, thumbnailForContent, was made available in the editing configuration of object classes.

  • For your convenience, Scrivito now automatically converts email addresses to links by adding the “mailto” prefix to them.

  • Linked-by counter

    Editors can now determine the number of pages that link to or reference a specific page or image without having to open the “Linked by” tab in the page properties or the Content Browser. For this, the “Linked by” tab label now includes this number.

  • Disabling HTML markup editing

    To prevent editors from viewing or changing the markup of an html attribute, you can now hide the corresponding “HTML” tab from the page or widget properties by setting its showHtmlSource flag to false in the editing configuration.

  • Validation notifications are limited to the changes sidebar

    On most sidebar panels, indicating validations by means of colored borders turned out to be counterproductive so we removed them from all panels except “Changes”.

  • Customizable preview sizes

    To be able to offer a customized set of preview sizes to editors, you can now replace the default options on the corresponding sidebar with your own ones. For this, the Scrivito.configurePreviewSizes method has been provided.

Further improvements

  • Customizing widgets on creation

    Next to pages (and all other kinds of CMS content), now also widgets that are created using Scrivito’s editing interface can be initialized (e.g. by setting their attributes depending on their context) via the initialize callback in the editing configuration for their respective class.

  • API for checking if the editor may change a page

    For preventing unauthorized changes in a working copy through custom editing components or custom dialogs, an API method for checking the editor’s permission to alter a specific piece of content, e.g. a page, Scrivito.canEdit has been added. In contrast to Scrivito.canWrite, the new method also takes account of the workflow this content is subject to.

  • Fixed bugs

    • A bug, which prevented the Scrivito.LinkTag component from properly navigating inside the editing interface with _top as the target, has been fixed.
    • The Scrivito.currentEditor API method resulted in an error if the current editor didn’t have permission to manage users. It now works as intended for all editors.

More great blog posts from Andreas Viebke

  • Scrivito JS SDK 1.35.1 RC 1 Bugfix Release

    Bugfixes All API keys now work properly in Node.js environments In the Scrivito JS SDK, version 1.35.0, we added support for private API keys in a Node.js environment. Due to an encoding error when passing the credentials to the Scrivito backend, some keys didn’t grant access to restricted...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.36.0 RC 3 Released

    Introducing data details pages

    In an earlier Scrivito JS SDK release, we introduced data lists for seamlessly integrating not only individual data items but also collections of such items into your Scrivito app. Now, we are happy to present an even more powerful feature for data integration: Data details pages that can display...

  • Your Profile Image on the Sidebar

    Latest updates to edit.scrivito.com

    Logged-in editors can now see their profile image If you have added a profile picture to the IdP (identity provider) account you use to log in, it is now displayed on the sidebar instead of your initials. For example, if you log in with your enterprise account, Scrivito uses the image from your...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.35.0 Released

    This release introduces multi-line editing for string attributes, and improves several development-related aspects, also in the context of Node.js. Improvements Multi-line editing for string attributes As a developer, you can now enable multi-line editing for string attributes in the “Properties”...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.34.0 Released

    Featuring data lists with placeholders

    Placeholders in lists In the previous Scrivito JS SDK release, we had introduced placeholders as a means to incorporate personalized data into textual content. Building upon that, we are excited to announce that in this release, we have expanded the functionality of placeholders so that they can...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.33.0 Released

    Featuring placeholders for data items

    Weaving data into website content using placeholders Editors can now insert placeholders representing specific pieces of data into textual website content, e.g., for personalization purposes. When the website is then visited, these placeholders are dynamically replaced with data provided by the...

  • Working More Easily with Widget Properties

    Latest updates to edit.scrivito.com

    Editing widget properties on the sidebar For more convenience and uniqueness, the properties of any widget can now also be edited on the sidebar after clicking the “Widget properties” menu item of the widget concerned. The editing interface uses the sidebar that originally was dedicated to the...

  • Comparing Any Published Content Versions from the Publishing History

    Latest updates to edit.scrivito.com

    Selecting the published content versions to compare The publishing history now lets you compare pages in any version of the published content with the corresponding page in any other version. Several of our customers had asked for this to be made possible. In more detail, determining the changes...

  • Working more Easily with Websites

    Latest updates to edit.scrivito.com

    Improved “Sites” sidebar The “Sites” sidebar panel is now clearer, so you can more easily access the language versions of the currently selected website. The order of the language groups in the “All Sites” section is now fixed, which makes it easier to navigate the list and pick a site. The...

  • Switching to Neoletter Made Easy

    Latest updates to edit.scrivito.com

    Switching to Neoletter made easy The Scrivito editing interface now features a sidebar button for conveniently opening the Neoletter UI associated with the Scrivito CMS concerned. Thank you for using Scrivito! Please let us know what you would like to see improved.