Open
Description
Describe the Bug.
This should have been fixed in this PR but unfortunately I still have this issue with the latest version of Payload adding unnecessary paragraphs when adding a new block.
CleanShot.2025-03-11.at.15.58.05.mp4
Reproduction Steps
When adding a new block in the Richtext-Lexical a new paragraph is added every time. See video in the description.
Environment Info
Binaries:
Node: 23.7.0
npm: 10.9.2
Yarn: 1.22.22
pnpm: 9.12.1
Relevant Packages:
payload: 3.27.0
next: 15.2.2
@payloadcms/db-postgres: 3.27.0
@payloadcms/graphql: 3.27.0
@payloadcms/live-preview: 3.27.0
@payloadcms/live-preview-react: 3.27.0
@payloadcms/next/utilities: 3.27.0
@payloadcms/plugin-cloud-storage: 3.27.0
@payloadcms/plugin-nested-docs: 3.27.0
@payloadcms/plugin-redirects: 3.27.0
@payloadcms/plugin-seo: 3.27.0
@payloadcms/richtext-lexical: 3.27.0
@payloadcms/storage-azure: 3.27.0
@payloadcms/translations: 3.27.0
@payloadcms/ui/shared: 3.27.0
react: 19.0.0
react-dom: 19.0.0