In a sample project , i want to use a rich-text editor using (plate, slate, tiptap or any other popular text editor). from plate editor getting output in form of Json like this
[ { type: 'p', children: [ { text: 'This is editable plain text with react and history plugins, just like a !', }, ], }, ]
Now ,I want to send this data to backend (using API) after that want to retrieve same data from backend to consume at frontend , this much I'm able to done. problem I'm facing is about rendering part of this data. getting this json data through api but not able to render in correct format . can anyone please suggest me how to render it and what are the best ways to handle this type of scenerio.