Merge branch 'main' into next

This commit is contained in:
nocobase[bot] 2025-03-26 07:40:54 +00:00
commit 524f1b455b

View File

@ -89,7 +89,7 @@ attachmentFileTypes.add({
},
});
const iframePreviewSupportedTypes = ['application/pdf', 'audio/*', 'image/*', 'video/*', 'text/*'];
const iframePreviewSupportedTypes = ['application/pdf', 'audio/*', 'image/*', 'video/*', 'text/plain'];
function IframePreviewer({ index, list, onSwitchIndex }) {
const { t } = useTranslation();