close

Filter

loading table of contents...

Studio Developer Manual / Version 2304

Table Of Contents

10.1.3.1 Best Practice: ckeditorDefault.ts

It is recommended, to have a look into ckeditorDefault.ts in the package @coremedia-blueprint/​studio-client.​ckeditor5 as best practice for providing additional custom configurations.

It contains examples such as how to localize CKEditor 5 and its plugins at configuration time (see Section 10.1.3.2, “Localizing CKEditor 5”) as well as recommended plugin configurations to provide the best compatibility to CoreMedia Rich Text 1.0 edited with previous versions of CoreMedia Content Cloud (see, for example, Section “Alignment Configuration” and Section “Image Styles Configuration”).

To change the default, for example, to add plugins provided by CKEditor 5, just adapt ckeditorDefault.ts according to your needs. For a possible approach see Section 10.1.3.11, “Customizing ckeditorDefault.ts By Example”.

To start with a new configuration to be used in dedicated contexts, take ckeditorDefault.ts as boilerplate to copy and adapt and eventually register and use. For a possible approach see Section 10.1.3.7, “Providing New Configurations”.

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

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