close

Filter

loading table of contents...

Studio Developer Manual / Version 2404

Table Of Contents

10.2.4 Data Facade Plugin

This plugin can be perceived as proxy on the CKEditor 5 data layer. Setting data as well as retrieving data should be performed via this plugin and its provided controllers, if you want to ensure that changed data are only provided on editorial actions.

Data access without this proxy may result that a given API access flow like setting and immediately afterward getting the data may result in different data, as CKEditor 5 may have applied some normalization (like reordering attributes).

Thus, if you need to ensure, that modifications are not propagated if they are only a result of normalization (like, to prevent auto-checkout of content items just by opening them within CoreMedia Studio), this plugin will help you to prevent this via an internally maintained cache of previously set data, that gets invalidated as soon as editorial actions are applied in CKEditor 5.

The plugin is bundled in the npm package @coremedia/​ckeditor5-data-facade. For more details regarding this plugin consult CoreMedia CKEditor 5 Plugin: Data Facade.

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.