1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-12 02:03:59 +02:00

Add description for Editor onChange method

This commit is contained in:
Sunny Hirai
2021-03-26 22:06:01 -07:00
parent 287d69ed9e
commit f700aa86c9

View File

@@ -429,7 +429,7 @@ Call a function, deferring normalization until after it completes.
### Instance methods
#### Schema-specific actions
#### Schema-specific methods to override
###### `isInline(element: Element)`
@@ -445,6 +445,9 @@ Normalize a Node according to the schema.
###### `onChange()`
Called when there is a change in the editor.
#### Core actions
###### `addMark(key: string, value: any)`