Bugfix
This commit is contained in:
parent
7e7b7125b0
commit
e44f404e28
|
@ -150,7 +150,6 @@ const Editor = props => {
|
|||
React.cloneElement(widget, {
|
||||
annotation : currentAnnotation,
|
||||
readOnly : props.readOnly,
|
||||
config: props.config,
|
||||
env: props.env,
|
||||
onAppendBody,
|
||||
onUpdateBody,
|
||||
|
|
|
@ -15,6 +15,7 @@ export default class WrappedWidget extends Component {
|
|||
const widgetEl = this.props.widget({
|
||||
annotation: next.annotation,
|
||||
readOnly: next.readOnly,
|
||||
...this.props.config,
|
||||
onAppendBody: body => next.onAppendBody(body),
|
||||
onUpdateBody: (previous, updated) => next.onUpdateBody(previous, updated),
|
||||
onRemoveBody: body => next.onRemoveBody(body),
|
||||
|
|
Loading…
Reference in New Issue