I am getting text field data in Draft.js Raw Content State.
Hi,
I am using a custom "Text with Formatting" field and sending this field's data in a email notification to user however I am getting the data in below format rather than the simple text. I guess its the Draft.js Raw Content State.
{"blocks":[{"key":"kami","text": "Observations & Recommendations","type":"unstyled","depth":0,"inlineStyleRanges":[],"entityRanges":[],"data":{}}],"entityMap":{}}
Does anyone have any idea how to get this field's data into simple text form?
Any help or suggestion would be appreciated. TIA!!