Closed PavelGolodoniuc closed 1 month ago
I'm facing a similar problem on v3 beta.107 - crashes the admin backend with the following error:
I've already created a separate issue.
We currently do not have the capacity to fix this issue in 2.0 and are focusing on security and critical issues for 2.0. If this is still an issue in payload 3.0, please open a separate issue. There have been tons of improvements in regards to blocks & lexical, and the issue is likely already fixed there :)
This is likely unrelated to https://github.com/payloadcms/payload/issues/8274, as 2.0 does not have import maps
This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.
Link to reproduction
No response
Describe the Bug
If you have a Block that is allowed within a Lexical editor that itself has a
richText
field with a Lexical editor, that block's lexical editor always uses default configuration regardless of what you provide it.To Reproduce
In the example above, both editors, defined as
editor: lexicalEditor(defaultConfig)
completely disregarddefaultConfig
.Payload Version
2.28.0
Adapters and Plugins
"@payloadcms/richtext-lexical": "^0.11.3"