Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Lexical HTML serialization #8684

Closed
GermanJablo opened this issue Oct 14, 2024 · 1 comment
Closed

Use Lexical HTML serialization #8684

GermanJablo opened this issue Oct 14, 2024 · 1 comment
Assignees

Comments

@GermanJablo
Copy link
Contributor

Link to reproduction

No response

Environment Info

Payload: beta.112

Describe the Bug

Lexical to HTML serializer in Payload is custom, and we're not using the official Lexical one ($generateHtmlFromNodes and $generateNodesFromDOM). This increases the scope of what we have to maintain.

The goal is to see if we can migrate to $generateHtmlFromNodes and $generateNodesFromDOM without breaking changes.

This would allow us to incorporate this PR that comes in the next release of Lexical: facebook/lexical#6693 (comment)
and which is one of our most requested issues: 90990.

NOTE: Perhaps this undocumented API can be useful: facebook/lexical#4254

Reproduction Steps

Adapters and Plugins

No response

@GermanJablo GermanJablo added status: needs-triage Possible bug which hasn't been reproduced yet v3 labels Oct 14, 2024
@GermanJablo GermanJablo self-assigned this Oct 14, 2024
@github-actions github-actions bot removed the status: needs-triage Possible bug which hasn't been reproduced yet label Oct 14, 2024
Copy link

This issue has been automatically locked.
Please open a new issue if this issue persists with any additional detail.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant