chore(richtext-lexical): improve block not found error message (#10348)
This commit is contained in:
@@ -21,7 +21,7 @@ export const blockValidationHOC = (
|
||||
|
||||
// validate block
|
||||
if (!block) {
|
||||
return 'Block not found'
|
||||
return `Block ${blockFieldData.blockType} not found`
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user