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

A component for rendering UMD script tags in Phoenix. This component generates script tags for UMD modules. It can be used to load CKEditor 5 builds in a Phoenix application.

⚠️ 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 the UMD script tags. This component can be customized with a :preset assign to specify which preset's scripts to use.

Functions

render(assigns)

Renders the UMD script tags. This component can be customized with a :preset assign to specify which preset's scripts 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 tags. Defaults to nil.