This might be more related to general react-draft-wysiwyg - but the containing app this is intended for right now will likely want to have a close button and then get the current serialized html.
Can you recommend the best approach to this? Should the container just pass down a RefObj and call something on the editor?
I don't think the consuming app needs to have draft etc. installed - serialization can happen before passing.
This might be more related to general react-draft-wysiwyg - but the containing app this is intended for right now will likely want to have a
close
button and then get the current serialized html.Can you recommend the best approach to this? Should the container just pass down a RefObj and call something on the editor?
I don't think the consuming app needs to have draft etc. installed - serialization can happen before passing.