Report an issue
Typedef

WidgetRepositoryToolbarDefinition (widget)

@ckeditor/ckeditor5-widget/src/widgettoolbarrepository

typedef
Object

The toolbar definition object used by the toolbar repository to manage toolbars. It contains information necessary to display the toolbar in the contextual balloon and update it during its life (display) cycle.

Filtering

Properties

  • balloonClassName : String

    CSS class for the widget balloon when a toolbar is displayed.

  • getRelatedElement : function

    A function that returns an engine View element the toolbar is to be attached to. For instance, an image widget or a table widget (or null when there is no such element). The function accepts an instance of Selection.

  • The UI view of the toolbar.