[x] This is a bug report or an enhancement proposal.
Description
Currently we provide a value (defaultValue which is a stringified version of the content state). Each time content changes it returns a content states in onChange and if you save it in a state which passes as defaultValue you will have to stringify again.
Suggestion
Allow contentState object as defaultValue or perhaps a separate props contentState
Checklist
Description
Currently we provide a value (
defaultValue
which is a stringified version of the content state). Each time content changes it returns a content states inonChange
and if you save it in a state which passes asdefaultValue
you will have to stringify again.Suggestion
Allow contentState object as
defaultValue
or perhaps a separate propscontentState