react-mobiledoc-editor
react-mobiledoc-editor copied to clipboard
Support changing `mobiledoc` prop
Currently, the mobiledoc
prop can only be set on initial component render, since the editor is created in componentWillMount
.
It would support more use cases (such as "reverting" the document being edited) if the Container
component could properly respond to changes in the mobiledoc
prop over time.