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

+ 2 - 2
packages/ckeditor5-watchdog/src/contextwatchdog.js

@@ -481,9 +481,9 @@ class ActionQueue {
  *
  * @property {'editor'} type Type of the item to create. At the moment, only `'editor'` is supported.
  *
- * @property {Function} [creator] A function that initializes the editor.
+ * @property {Function} creator A function that initializes the editor. E.g. `( el, config ) => ClassicEditor.create( el, config )`.
  *
- * @property {Function} [destructor] A function that destroys the editor.
+ * @property {Function} [destructor] A function that destroys the editor. E.g. `editor => editor.destroy()`
  *
  * @property {String|HTMLElement} sourceElementOrData The source element or data which will be passed
  * as the first argument to the `Editor.create()` method.