Explorar o código

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

Aleksander Nowodzinski %!s(int64=8) %!d(string=hai) anos
pai
achega
2a434a687c
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  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();
 				this.formView.focus();
 				cancel();
 				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.
 		// 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 ) => {
 		this.editor.keystrokes.set( 'Esc', ( data, cancel ) => {