1
0
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:
Sunny Hirai
2019-05-22 12:07:24 -07:00
committed by GitHub
parent accba53f56
commit b73632d42f

View File

@@ -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,
})