Skip to content

Rich text editor has a large grey box appear when in dark mode #10821

Answered by jmikrut
openbayou asked this question in Q&A
Discussion options

You must be logged in to vote

Hey all, this is because the rich text editor loads its code asynchronously. It's code-split, and is fetched when the field renders. That box is its "loading" state.

This does not appear to be a bug. We could improve the loading state in the future - it actually does have a little "shimmer" effect but it loads so fast that you don't have any time to see it "shimmer" - so it looks like a box.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by openbayou
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
status: needs-triage Possible bug which hasn't been reproduced yet plugin: richtext-lexical @payloadcms/richtext-lexical
2 participants
Converted from issue

This discussion was converted from issue #10784 on January 27, 2025 14:34.