Procházet zdrojové kódy

Docs: Extended keystroke handler docs in ClassicEditorUI.

Aleksander Nowodzinski před 9 roky
rodič
revize
221439cf64

+ 6 - 0
packages/ckeditor5-editor-classic/src/classiceditorui.js

@@ -56,6 +56,12 @@ export default class ClassicEditorUI {
 
 		/**
 		 * Instance of the {@link module:core/keystrokehandler~KeystrokeHandler}.
+		 * Unlike {@link core/editor/standardeditor~StandardEditor#keystrokes}, this
+		 * keystroke handler is focused on keystrokes associated exclusively with the
+		 * user interface, not edited content. It takes care of accessibility–related
+		 * keystrokes (i.e. focus the toolbar) and similar, leaving content
+		 * keystrokes (i.e. bold text, insert link) to aforementioned instance
+		 * in `StandardEditor`.
 		 *
 		 * @readonly
 		 * @member {module:core/keystrokehandler~KeystrokeHandler}