|
|
@@ -26,7 +26,7 @@ export default class InlineEditorUIView extends EditorUIView {
|
|
|
* @param {HTMLElement} [editableElement] The editable element. If not specified, it will be automatically created by
|
|
|
* {@link module:ui/editableui/editableuiview~EditableUIView}. Otherwise, the given element will be used.
|
|
|
*/
|
|
|
- constructor( locale, editingView, editableElement ) {
|
|
|
+ constructor( locale, editingView, editableElement, options = {} ) {
|
|
|
super( locale );
|
|
|
|
|
|
/**
|
|
|
@@ -35,7 +35,7 @@ export default class InlineEditorUIView extends EditorUIView {
|
|
|
* @readonly
|
|
|
* @member {module:ui/toolbar/toolbarview~ToolbarView}
|
|
|
*/
|
|
|
- this.toolbar = new ToolbarView( locale, { shouldGroupWhenFull: true } );
|
|
|
+ this.toolbar = new ToolbarView( locale, { shouldGroupWhenFull: options.shouldToolbarGroupWhenFull } );
|
|
|
|
|
|
/**
|
|
|
* The offset from the top edge of the web browser's viewport which makes the
|