mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-22 15:02:51 +02:00
Add render event for plugins (#2834)
This commit is contained in:
@@ -514,6 +514,8 @@ class Content extends React.Component {
|
|||||||
|
|
||||||
debug('render', { props })
|
debug('render', { props })
|
||||||
|
|
||||||
|
this.props.onEvent('onRender', {})
|
||||||
|
|
||||||
const data = {
|
const data = {
|
||||||
[DATA_ATTRS.EDITOR]: true,
|
[DATA_ATTRS.EDITOR]: true,
|
||||||
[DATA_ATTRS.KEY]: document.key,
|
[DATA_ATTRS.KEY]: document.key,
|
||||||
|
Reference in New Issue
Block a user