fix(richtext-lexical): inline blocks drawer not rendering any fields due to incorrect schemapath suffix (#9158)

This commit is contained in:
Alessio Gravili
2024-11-12 14:31:20 -07:00
committed by GitHub
parent d3cd9baa9b
commit a1c99c8b45

View File

@@ -192,7 +192,7 @@ export const BlocksPlugin: PluginComponent<BlocksFeatureClientProps> = () => {
editor.dispatchCommand(INSERT_INLINE_BLOCK_COMMAND, data)
}}
schemaPath={schemaPath}
schemaPathSuffix={`lexical_blocks.${blockFields?.blockType}.fields`}
schemaPathSuffix={`lexical_inline_blocks.${blockFields?.blockType}.fields`}
/>
)
}