Minor tweak: allowing configurable widgets
This commit is contained in:
parent
4c5e102095
commit
a8befdcb19
|
@ -138,6 +138,7 @@ const Editor = props => {
|
|||
<div className="inner">
|
||||
{React.Children.map(props.children, child =>
|
||||
React.cloneElement(child, {
|
||||
...child.props,
|
||||
annotation : currentAnnotation,
|
||||
readOnly : props.readOnly,
|
||||
onAppendBody : onAppendBody,
|
||||
|
|
Loading…
Reference in New Issue