diff --git a/packages/plugins/@nocobase/plugin-field-markdown-vditor/src/client/interfaces/markdown-vditor.tsx b/packages/plugins/@nocobase/plugin-field-markdown-vditor/src/client/interfaces/markdown-vditor.tsx index 8789109fc..b5b8b54b7 100644 --- a/packages/plugins/@nocobase/plugin-field-markdown-vditor/src/client/interfaces/markdown-vditor.tsx +++ b/packages/plugins/@nocobase/plugin-field-markdown-vditor/src/client/interfaces/markdown-vditor.tsx @@ -45,6 +45,7 @@ export class MarkdownVditorFieldInterface extends CollectionFieldInterface { 'x-component': 'MarkdownVditor', }, }; + availableTypes = ['text', 'json', 'string']; properties = { ...defaultProps, 'uiSchema.x-component-props.fileCollection': {