Przeglądaj źródła

Updated manual test to changes in the view engine.

Szymon Kupś 8 lat temu
rodzic
commit
0220563b0c

+ 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 ) {