Minor tweak: allowing configurable widgets

This commit is contained in:
Rainer Simon 2020-06-04 10:13:17 +02:00
parent 4c5e102095
commit a8befdcb19
1 changed files with 1 additions and 0 deletions

View File

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