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

Docs: Documented the high priority Tab key listener in the Link plugin.

Aleksander Nowodzinski 8 лет назад
Родитель
Сommit
2a434a687c
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      packages/ckeditor5-link/src/link.js

+ 6 - 1
packages/ckeditor5-link/src/link.js

@@ -215,7 +215,12 @@ export default class Link extends Plugin {
 				this.formView.focus();
 				cancel();
 			}
-		}, { priority: 'high' } );
+		}, {
+			// Use the high priority because the link UI navigation is more important
+			// than other feature's actions, e.g. list indentation.
+			// https://github.com/ckeditor/ckeditor5-link/issues/146
+			priority: 'high'
+		} );
 
 		// Close the panel on the Esc key press when the editable has focus and the balloon is visible.
 		this.editor.keystrokes.set( 'Esc', ( data, cancel ) => {