|
|
@@ -70,7 +70,7 @@ The `<CKEditor>` component supports the following properties:
|
|
|
* `onInit` – A function called when the editor was initialized. It receives the initialized {@link module:core/editor/editor~Editor `editor`} as a parameter.
|
|
|
* `disabled` – A boolean. The {@link module:core/editor/editor~Editor `editor`} is being switched to read-only mode if the property is set to `true`.
|
|
|
* `onChange` – A function called when the editor's data has changed. See the {@link module:engine/model/document~Document#event:change:data `editor.model.document#change:data`} event.
|
|
|
-* `onBlur` – A function called when the editor was blurred. See the {@link module:engine/view/document~Document#event:blur `editor.editing.view.document#blur`} event.
|
|
|
+* `onBlur` – A function called when the editor was blurred. See the {@link module:engine/view/document~Document#event:blur `editor.editing.view.document#blur`} event.
|
|
|
* `onFocus` – A function called when the editor was focused. See the {@link module:engine/view/document~Document#event:focus `editor.editing.view.document#focus`} event.
|
|
|
|
|
|
The editor events callbacks (`onChange`, `onBlur`, `onFocus`) receive two parameters:
|
|
|
@@ -175,7 +175,7 @@ Before you start modifying the webpack configuration, first install some CKEdito
|
|
|
|
|
|
```bash
|
|
|
yarn add \
|
|
|
- raw-loader \
|
|
|
+ raw-loader@1 \
|
|
|
@ckeditor/ckeditor5-dev-utils \
|
|
|
@ckeditor/ckeditor5-theme-lark \
|
|
|
@ckeditor/ckeditor5-react \
|