I have my system in ReactJS, all the chat messages and editor related stuff is saved in stringified JSON in mongodb. Upon request, i send the stringified JSON to my React client and start a prosemirror editor with readonly mode. Is it the correct approach? or not?
The only reason, i am not using stringified HTML in the first place is because react doesn’t let html to be directly added in dom. It uses something dangerouslysetinnerhtml
which seems frightening
How are you displaying the prosemirror content back to client?