The best way to build a modern backend + admin UI. No black magic, all TypeScript, and fully open-source, Payload is both an app framework and a headless CMS.
This exports every single node type from @payloadcms/richtext-lexical. Additionally, we now export TypedEditorState which provides truly strong types for the editor state.
It works just like SerializedEditorState exported from lexical core, with the difference that our TypedEditorState type also provides correct, nested types for children up to 4 levels deep.
This exports every single node type from @payloadcms/richtext-lexical. Additionally, we now export
TypedEditorState
which provides truly strong types for the editor state.It works just like
SerializedEditorState
exported from lexical core, with the difference that ourTypedEditorState
type also provides correct, nested types for children up to 4 levels deep.