Open benjick opened 3 weeks ago
Same problem here ;)
I simply copy-pasted payloadLexicalReactRenderer.tsx into the project and added missing element renderers.
Also TypeScript complains, if you try to add custom elementRenderers
Would be cool, if we could do 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