Explorar el Código

Add a cross link in the editor.focus() jsdoc.

Maciej Gołaszewski hace 5 años
padre
commit
99eef6fac1
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      packages/ckeditor5-core/src/editor/editor.js

+ 6 - 0
packages/ckeditor5-core/src/editor/editor.js

@@ -298,6 +298,12 @@ export default class Editor {
 
 	/**
 	 * Focuses the editor.
+	 *
+	 * **Note** To explicitly focus the editing area of the editor, use
+	 * {@link module:engine/view/view~View#focus `editor.editing.view.focus()`} method of the editing view.
+	 *
+	 * Check out the {@glink framework/guides/deep-dive/ui/focus-tracking#focus-in-the-editor-ui "Focus in the editor ui"} section
+	 * of the {@glink framework/guides/deep-dive/ui/focus-tracking "Deep dive into focus tracking" guide} to learn more.
 	 */
 	focus() {
 		this.editing.view.focus();