payloadcms / payloadcms/payload
convertHTMLToLexical does not support tables or youtube links?!
Open
@AlessioGr is already working on this.
Since Nov 6, 2025.
plugin: richtext-lexical
stale
- Dominant language
- TypeScript
- Stars
- 44.8k
- Forks
- 4.2k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 53
Description
Describe the Bug
convertHTMLToLexical() returns a lexical editor but it does not correctly represent tables?! How can I overwrite this behaviour or am I doing something wrong? It also does not work for Markdown to Lexical. Same goes for youtube links which are simply omitted in the lexical object
Link to the code that reproduces this issue
n/a
Reproduction Steps
n/a
Which area(s) are affected? (Select all that apply)
plugin: richtext-lexical
Environment Info
pnpm dev
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.