mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-20 14:11:35 +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 })
|
||||
|
||||
this.props.onEvent('onRender', {})
|
||||
|
||||
const data = {
|
||||
[DATA_ATTRS.EDITOR]: true,
|
||||
[DATA_ATTRS.KEY]: document.key,
|
||||
|
Reference in New Issue
Block a user