Skip to content

Commit 1b417dc

Browse files
authored
Merge pull request #13517 from ckeditor/react/360
Docs: Documented `watchdogConfig` option for react integration. See ckeditor/ckeditor5-react#360.
2 parents 8407146 + 4808fce commit 1b417dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/installation/frameworks/react.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ The `<CKEditor>` component supports the following properties:
7575
* `config` &ndash; The editor configuration. See the {@link installation/getting-started/configuration Configuration} guide.
7676
* `id` &ndash; The editor ID. When this property changes, the component restarts the editor with new data instead of setting it on an initialized editor.
7777
* `disabled` &ndash; A Boolean value. The {@link module:core/editor/editor~Editor `editor`} is being switched to read-only mode if the property is set to `true`.
78+
* `watchdogConfig` &ndash; {@link module:watchdog/watchdog~WatchdogConfig Configuration object} for the [watchdog feature](https://ckeditor.com/docs/ckeditor5/latest/features/watchdog.html).
7879
* `onReady` &ndash; A function called when the editor is ready with an {@link module:core/editor/editor~Editor `editor`} instance. This callback is also called after the reinitialization of the component if an error occurred.
7980
* `onChange` &ndash; A function called when the editor data has changed. See the {@link module:engine/model/document~Document#event:change:data `editor.model.document#change:data`} event.
8081
* `onBlur` &ndash; A function called when the editor was blurred. See the {@link module:engine/view/document~Document#event:blur `editor.editing.view.document#blur`} event.
@@ -527,7 +528,7 @@ Besides the CKEditor base and plugins, you need to install additional packages t
527528
Install necessary packages alongside the default theme using the following command.
528529

529530
```
530-
npm install --save \
531+
npm install --save \
531532
@ckeditor/vite-plugin-ckeditor5 \
532533
@ckeditor/ckeditor5-react \
533534
@ckeditor/ckeditor5-theme-lark \

0 commit comments

Comments
 (0)