From f700aa86c93fc1209301df84c3e788cb9beab81f Mon Sep 17 00:00:00 2001 From: Sunny Hirai Date: Fri, 26 Mar 2021 22:06:01 -0700 Subject: [PATCH] Add description for Editor onChange method --- docs/api/nodes.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/api/nodes.md b/docs/api/nodes.md index 2f32e158c..75792bae7 100644 --- a/docs/api/nodes.md +++ b/docs/api/nodes.md @@ -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)`