CKEditor5.Components.UIPart (ckeditor5 v0.2.0)

View Source

Live View component for rendering a UI part of CKEditor 5, like a toolbar or a menubar. It may be used with decoupled editors.

Summary

Functions

render(assigns)

Attributes

  • name (:string) (required) - The name of the UI part. This will be used to identify the UI part in the editor configuration. E.g. "toolbar", "menubar".

  • editor_id (:string) - The ID of the editor instance this UI part belongs to. If not provided, the first editor in the page will be used.

    Defaults to nil.

  • Global attributes are accepted.