Getting and changing the text content in Lexical Editor on React
So, I'm using the lexical editor in my react project. My app get the text from a API that transcribe audio and then I need to put on the Lexical editor, but I'm having problem to manipulate the text, I just don't know how to do. TextEditor.tsx: import { useEffect } from "react"; import { LexicalComposer } from "@lexical/react/LexicalComposer"; import { RichTextPlugin } from "@lexical/react/LexicalRichTextPlugin"; import { ContentEditable } from "@lexical/react/LexicalContentEditable"; import { HistoryPlugin } from "@lexical/react/LexicalHistoryPlugin"; import { ListPlugin } from "@lexical/reac
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.