I want to store data that is being edited with Draft.js and React (in the UI) into a MySQL database.
I am not sure in which format should I store my data, so that I can fetch the data from database and display it on the page with the formatting applied while writing the text?
For example - I applied bold style to some of the text and gave some line breaks. How to store this info for later use?
Please suggest a format to store my data.