CKEditor5.Components.Cloud.Assets (ckeditor5 v0.1.0)

A component for rendering all necessary CKEditor 5 assets from the cloud. This includes the import map, stylesheets, and UMD scripts.

It's a convenient way to include all required assets with a single component. This component composes other cloud components to provide a unified interface.

⚠️ Warning

This component can only be used if the preset has the Cloud option enabled, which is not available under the GPL license key. You must specify your own Cloud or use a commercial license to utilize this feature.

Summary

Functions

Renders all the assets by composing individual cloud components. Accepts a :preset assign to specify which preset's assets to use.

Functions

render(assigns)

Renders all the assets by composing individual cloud components. Accepts a :preset assign to specify which preset's assets to use.

Attributes

  • preset (:string) - The name of the preset to use. Defaults to "default".
  • nonce (:string) - The CSP nonce to use for the script and link tags. Defaults to nil.