mirror of
https://github.com/langgenius/dify.git
synced 2026-05-13 08:57:28 +08:00
Change useSkillFileData to use isEditable instead of isMediaFile: - Editable files (markdown, code, text) fetch file content for editing - Non-editable files (image, video, office, unsupported) fetch download URL This fixes the download button for unsupported files which was incorrectly using file content (UTF-8 decoded garbage) instead of the presigned URL. |
||
|---|---|---|
| .. | ||
| editor | ||
| file-tree | ||
| hooks | ||
| utils | ||
| constants.ts | ||
| editor-area.tsx | ||
| editor-body.tsx | ||
| editor-tab-item.tsx | ||
| editor-tabs.tsx | ||
| main.tsx | ||
| sidebar-search-add.tsx | ||
| sidebar.tsx | ||
| skill-doc-editor.tsx | ||
| skill-page-layout.tsx | ||
| type.ts | ||