@payloadcms/richtext-lexical doesn't call beforeValidate
hook for BlocksFeature
block fields
#12254
Labels
status: needs-triage
Possible bug which hasn't been reproduced yet
Describe the Bug
beforeValidate
hook doesn't run for @payloadcms/richtext-lexicalBlocksFeature
block fields. Other hooks likeafterChange
seem to work.Link to the code that reproduces this issue
https://github.com/nicobohne/payload/tree/repro/richtext-lexical-before-validate
Reproduction Steps
console.log
on the server terminal, and the field text doesn't get replaced with 'Injected Value’.Which area(s) are affected? (Select all that apply)
plugin: richtext-lexical
Environment Info
The text was updated successfully, but these errors were encountered: