You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry, maybe this is out of scope. I'm using this renderer for other Lexical content as well (not through payload) and it works great.
But now I want to add a custom block type to Lexical, it looks like this:
{
"detail": 0,
"format": 0,
"mode": "normal",
"style": "",
"text": "The Old Man and the Sea was published in 1952 and the author is Ernest Hemingway.",
"type": "highlighted-text",
"version": 1,
"color": "yellow"
}
Is it possible to render that lexical node with this library? I tried doing it like this:
Hello.
Sorry, maybe this is out of scope. I'm using this renderer for other Lexical content as well (not through payload) and it works great.
But now I want to add a custom block type to Lexical, it looks like this:
Is it possible to render that lexical node with this library? I tried doing it like this:
But I only get an error:
TypeError: i is undefined
I understand if it's out of scope, wanted to check because this is the most reliable Lexical render I've found for React. Thank you for making it
The text was updated successfully, but these errors were encountered: