8
0
Просмотр исходного кода

Updated manual test to changes in the view engine.

Szymon Kupś 8 лет назад
Родитель
Сommit
0220563b0c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/ckeditor5-editor-inline/src/inlineeditorui.js

+ 1 - 1
packages/ckeditor5-editor-inline/src/inlineeditorui.js

@@ -71,7 +71,7 @@ export default class InlineEditorUI {
 		}
 
 		// https://github.com/ckeditor/ckeditor5-editor-inline/issues/4
-		view.listenTo( editor.editing.view, 'render', () => {
+		view.listenTo( editor.editing.view, 'change', () => {
 			// Don't pin if the panel is not already visible. It prevents the panel
 			// showing up when there's no focus in the UI.
 			if ( view.panel.isVisible ) {