mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-13 02:34:05 +02:00
Add description for Editor onChange method
This commit is contained in:
@@ -429,7 +429,7 @@ Call a function, deferring normalization until after it completes.
|
|||||||
|
|
||||||
### Instance methods
|
### Instance methods
|
||||||
|
|
||||||
#### Schema-specific actions
|
#### Schema-specific methods to override
|
||||||
|
|
||||||
###### `isInline(element: Element)`
|
###### `isInline(element: Element)`
|
||||||
|
|
||||||
@@ -445,6 +445,9 @@ Normalize a Node according to the schema.
|
|||||||
|
|
||||||
###### `onChange()`
|
###### `onChange()`
|
||||||
|
|
||||||
|
Called when there is a change in the editor.
|
||||||
|
|
||||||
|
|
||||||
#### Core actions
|
#### Core actions
|
||||||
|
|
||||||
###### `addMark(key: string, value: any)`
|
###### `addMark(key: string, value: any)`
|
||||||
|
Reference in New Issue
Block a user