8
0
Quellcode durchsuchen

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

Aleksander Nowodzinski vor 8 Jahren
Ursprung
Commit
2a434a687c
1 geänderte Dateien mit 6 neuen und 1 gelöschten Zeilen
  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 ) => {