Interface

ToolbarOptions (ui/toolbar)

@ckeditor/ckeditor5-ui/src/toolbar/toolbarview

interface

Options passed to the constructor of the toolbar.

Filtering

Properties

  • isFloating : Boolean

    This option should be enabled for toolbars in absolutely positioned containers without width restrictions to enable automatic items grouping. When this option is set to true, the items will stop wrapping to the next line and together with shouldGroupWhenFull, this will allow grouping them when there is not enough space in a single row.

  • shouldGroupWhenFull : Boolean

    When set to true, the toolbar will automatically group items that would normally wrap to the next line when there is not enough space to display them in a single row, for instance, if the parent container of the toolbar is narrow. For toolbars in absolutely positioned containers without width restrictions also the isFloating option is required to be true.

    See also: maxWidth.