Replies: 1 comment 3 replies
-
Good day, Maybee someone form the Payload Team can confirm this? @denolfe |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Environment
Description
I'm working on a Next.js application that uses PayloadCMS as a headless CMS. I want to implement a feature that allows users to edit rich text content directly in the client-side application, outside of the PayloadCMS admin panel.
Specifically, I'm looking to use the
RichTextField
component from@payloadcms/richtext-lexical/client
in a client component, but I'm having trouble understanding the correct implementation approach.Questions
Is it possible to use PayloadCMS's richtext-lexical editor components in a client-side application outside of the admin panel?
What is the recommended approach for implementing client-side rich text editing with PayloadCMS?
What are the minimum required props and configuration needed to make the
RichTextField
component work in a client context?Are there any examples or documentation showing how to implement this kind of feature?
How should the edited content be structured to be compatible with PayloadCMS's data model when saving back to the server?
Context
I've explored the PayloadCMS documentation and the richtext-lexical package, but I haven't found clear guidance on implementing rich text editing outside of the admin panel. I'm particularly interested in understanding:
Any guidance, examples, or pointers to relevant documentation would be greatly appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions