8
0
Maciej Bukowski 6 лет назад
Родитель
Сommit
ab51d30018
1 измененных файлов с 6 добавлено и 3 удалено
  1. 6 3
      packages/ckeditor5-watchdog/src/watchdog.js

+ 6 - 3
packages/ckeditor5-watchdog/src/watchdog.js

@@ -100,7 +100,7 @@ export default class Watchdog {
 		 * The current editor
 		 *
 		 * @private
-		 * @type {Editor}
+		 * @type {module:core/editor/editor~Editor}
 		 */
 		this._editor = null;
 
@@ -360,13 +360,16 @@ export default class Watchdog {
 	}
 
 	/**
-	 * A shortcut method for creating the Watchdog.
+	 * A shortcut method for creating the Watchdog. For the full usage see the
+	 * {@link ~Watchdog Watchdog class description}.
+	 *
+	 * Usage:
 	 *
 	 * 		const watchdog = Watchdog.for( ClassicEditor );
 	 *
 	 * 		watchdog.create( elementOrData, config ).then( editor => {} );
 	 *
-	 * @param {*} Editor
+	 * @param {*} Editor The editor class.
 	 */
 	static for( Editor ) {
 		const watchdog = new Watchdog();