Lexical JSON to Plain text
Unanswered
Sporting Lucas Terrier posted this in #help-forum
Sporting Lucas TerrierOP
Hi All, I am the project manager for a React project that incorporates the Lexical editor for adding questions and answers to our platform. We store this data in JSON string format, derived from the editor state, in our Firebase database. Our questions include mathematical equations and symbols. Currently, our database contains over 4000 questions in this editor JSON format. We need to convert these questions into plain text format and save them in a CSV document. I have already exported the Lexical JSON questions from the database and saved in a CSV document. I am exploring ways to convert them into normal text using a script. My attempts to traverse through the JSON have been challenging due to the varying fields and formats for each question, especially those involving equations and mathematical symbols. Is there a method to convert these Lexical JSONs into plain text effectively?