Skip to content

Commit a1c99c8

Browse files
authored
fix(richtext-lexical): inline blocks drawer not rendering any fields due to incorrect schemapath suffix (#9158)
1 parent d3cd9ba commit a1c99c8

File tree

1 file changed

+1
-1
lines changed
  • packages/richtext-lexical/src/features/blocks/client/plugin

1 file changed

+1
-1
lines changed

packages/richtext-lexical/src/features/blocks/client/plugin/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export const BlocksPlugin: PluginComponent<BlocksFeatureClientProps> = () => {
192192
editor.dispatchCommand(INSERT_INLINE_BLOCK_COMMAND, data)
193193
}}
194194
schemaPath={schemaPath}
195-
schemaPathSuffix={`lexical_blocks.${blockFields?.blockType}.fields`}
195+
schemaPathSuffix={`lexical_inline_blocks.${blockFields?.blockType}.fields`}
196196
/>
197197
)
198198
}

0 commit comments

Comments
 (0)