浏览代码

Refactor the line where passing shouldToolbarGroupWhenFull option to the InlineEditorUIView instance

panr 5 年之前
父节点
当前提交
e466035331
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      packages/ckeditor5-editor-inline/src/inlineeditor.js

+ 3 - 1
packages/ckeditor5-editor-inline/src/inlineeditor.js

@@ -75,7 +75,9 @@ export default class InlineEditor extends Editor {
 
 		const shouldToolbarGroupWhenFull = !this.config.get( 'toolbar.shouldNotGroupWhenFull' );
 
-		const view = new InlineEditorUIView( this.locale, this.editing.view, this.sourceElement, { shouldToolbarGroupWhenFull } );
+		const view = new InlineEditorUIView( this.locale, this.editing.view, this.sourceElement, {
+			shouldToolbarGroupWhenFull
+		} );
 		this.ui = new InlineEditorUI( this, view );
 
 		attachToForm( this );