-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
Currently there is no way to import simple HTML content into LexicalView/Editor. I am using the below code to export the HTML from editor using the sample code from LexicalPlayground app
try? editor.read {
do {
self.output = try generateHTMLFromNodes(editor: editor, selection: nil)
} catch let error {
self.output = error.localizedDescription
}
}
Can anyone please suggest the best way to import this generated output back into LexicalView/Editor?
Metadata
Metadata
Assignees
Labels
No labels