diff --git a/docs/reference/Readme.md b/docs/reference/Readme.md index e69de29bb..61f32229d 100644 --- a/docs/reference/Readme.md +++ b/docs/reference/Readme.md @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + +### Components + +#### `` + +```js + +``` + +Most of the editor's properties are actually an implicit plugin defintion. Internally they are grouped together and turned into a plugin that is given first priority in the plugin stack. + +###### Properties + +###### `onChange(state, editor)` + +A handler that's called every time the editor's state changes. It is called with the newly changed `state` and the `editor` instance itself. + + +###### Methods + +###### `getState()` + +Return the editor's current internal state.