From 04b892ff07625d3bbe2dc4a3eb2fecfe5c4835cb Mon Sep 17 00:00:00 2001 From: jiann Date: Tue, 29 Apr 2025 14:24:50 +0800 Subject: [PATCH] fix: rich-text support modules and formats props --- .../client/src/schema-component/antd/rich-text/RichText.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/client/src/schema-component/antd/rich-text/RichText.tsx b/packages/core/client/src/schema-component/antd/rich-text/RichText.tsx index 63d5d3ab74..fb0aa7bbec 100644 --- a/packages/core/client/src/schema-component/antd/rich-text/RichText.tsx +++ b/packages/core/client/src/schema-component/antd/rich-text/RichText.tsx @@ -35,13 +35,13 @@ export const RichText = connect( 'link', 'image', ]; - const { value, defaultValue, onChange, disabled } = props; + const { value, defaultValue, onChange, disabled, modules: propsModules, formats: propsFormats } = props; const resultValue = isVariable(value || defaultValue) ? undefined : value || ''; return wrapSSR( { if (value === '


') {