Hey guys, so I've been trying to implement the Lexical -> HTML parser, specifically for Astro via this repo Turbopress which is just a turbo repo with Astro and Payload.
Background - I've read the following resources:
Serialising-lexical-generated-content-to-html
Lexical => HTML
Lexical Rich Text Parser Example
Issue:
Has anyone found a pattern to serialize the richText json into HTML for Astro? This is the closest parser I've seen for Astro, but it's based on RichTextElement from the slate editor.
Would it be possible to mimic the serialize RichText compoent here or is this based on slate?
Astro builds fast content sites, powerful web applications, dynamic server APIs, and everything in-between.
Astro + Payload CMS Turborepo . Contribute to turbopress/turbopress development by creating an account on GitHub.
Kudos to the team for such an excellent projectIs there any existing documentation on how to serialise the Lexical RichText
Extends payload CMS with Meta's lexical RichText editor - a much more advanced and customizable richtext editor - AlessioGr/payload-plugin-lexical