payloadcms / payloadcms/payload

convertHTMLToLexical does not support tables or youtube links?!

Open
#13,388 1 comment 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.