Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
When author enter inline blocks or block if the block has relation field like upload or any other relation.
The data in the live preview message does not contain the document of the relation.
For now there's a need to call API for each relation and sometimes the live preview is not responding
Link to reproduction
No response
Environment Info
Describe the Bug
When author enter inline blocks or block if the block has relation field like upload or any other relation. The data in the live preview message does not contain the document of the relation. For now there's a need to call API for each relation and sometimes the live preview is not responding
Reproduction Steps
Clone: https://github.com/tsemachh/payload/tree/bug(live-preview)-LexicalRelationsNotExpanded pnpm dev live-preview Debug on : webpack://_N_E/packages/live-preview/src/traverseRichText.ts?7b26 Add to Test tab to the lexical content media block and see that it doesn't expand it regardless the depth provided Example of debug:
Adapters and Plugins
No response