ToolbarOptions (ui/toolbar)
@ckeditor/ckeditor5-ui/src/toolbar/toolbarview
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 totrue
, the items will stop wrapping to the next line and together withshouldGroupWhenFull
, 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 groupitems
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 theisFloating
option is required to betrue
.See also:
maxWidth
.
Every day, we work hard to keep our documentation complete. Have you spotted an outdated information? Is something missing? Please report it via our issue tracker.