mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-15 11:44:05 +02:00
Add editor to plugin options (#2821)
This commit is contained in:
@@ -219,6 +219,7 @@ class Editor extends React.Component {
|
||||
this.tmp.resolves++
|
||||
const react = ReactPlugin({
|
||||
...this.props,
|
||||
editor: this,
|
||||
value: this.props.value || this.state.value,
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user