refactor: markdownVditorFieldInterface suport availableTypes (#5246)

This commit is contained in:
Katherine 2024-09-11 11:19:21 +08:00 committed by GitHub
parent 60cef9b3bd
commit 7b31ff9911
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,6 +45,7 @@ export class MarkdownVditorFieldInterface extends CollectionFieldInterface {
'x-component': 'MarkdownVditor',
},
};
availableTypes = ['text', 'json', 'string'];
properties = {
...defaultProps,
'uiSchema.x-component-props.fileCollection': {