8
0
Oskar Wróbel 7 лет назад
Родитель
Сommit
eb0be4b555
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/ckeditor5-core/src/editor/editorui.js

+ 1 - 1
packages/ckeditor5-core/src/editor/editorui.js

@@ -70,7 +70,7 @@ export default class EditorUI {
 		this._throttledUpdate = throttle( () => this.fire( 'update' ), 200 );
 
 		// Informs UI components that should be refreshed after layout change.
-		this.listenTo( editor.editing.view.document, 'layoutChanged', () => this._throttledUpdate() );
+		this.listenTo( editor.editing.view.document, 'layoutChanged', () => this.update() );
 	}
 
 	/**