You can now integrate Scrivito into Rails 5.1 applications! Rails 5.0 and 4.2 continue to be supported.
The latest Rails version is stuffed with new and improved functionality – see the Rails 5.1 release notes for details!
You can now integrate Scrivito into Rails 5.1 applications! Rails 5.0 and 4.2 continue to be supported.
The latest Rails version is stuffed with new and improved functionality – see the Rails 5.1 release notes for details!
Scrivito includes the easy-to-use MediumEditor for editing text in place. This handy tool has been updated to version 5.23.0.
Also, editors can now make HTML links open a new window, for example to improve the usability of the website. To enable this feature, set the anchor.targetCheckbox
option in the configuration to true:
Changes list indicates conflicts
Working with the changes list, you can now easily spot a conflict caused by publishing another working copy.
Items that prevent your working copy from being published or that cannot be moved to a different working copy are highlighted. A tooltip briefly states the reason for the conflict.
Undefined Obj model class no longer breaks app
Applications that do not have an obj.rb file (defining ::Obj
) are working again.
Fully qualified URLs for not-yet-cached binaries
Scrivito includes a helper, scrivito_url
, for rendering links pointing to, for example, PDF files. With target CMS objects that weren't in the cache, the helper returned a URL in which the host was missing, causing binaries not located on the website to be unavailable. This behavior has been fixed.
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...