ソースを参照

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

Maciej Gołaszewski 5 年 前
コミット
99eef6fac1
1 ファイル変更6 行追加0 行削除
  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();