mirror of
https://github.com/labring/FastGPT.git
synced 2026-05-08 01:08:43 +08:00
3df8908851
* style: re-component Editor * style: re-component Editor * feat: sandbox file preview support with binary detection and mime type handling * feat: preview support for markdown, svg, and html files in sandbox editor * feat(sandbox): support multimedia preview and source/preview toggle in editor * fix: XSS SVG rendering with MyPhotoView * refactor: blob URL lifecycle management, improve filename encoding in downloads * feat: implement S3-based HTML preview for sandbox editor and add PDF support to binary file detection * refactor: improve sandbox editor stability by adding file size validation * feat: introduce fileService to encapsulate sandbox file operations and add unit tests * refactor: secure HTML sandbox preview by fetching content from server and injecting CSP meta tags * refactor: replace unified file operation API with dedicated endpoints for list, read, write, and download operations * chore: remove packageManager field from package.json * fix: sandbox file read error message * refactor: improve sandbox editor UI styling, type safety, and CSP security policy * feat: HTML preview link API and standardize sandbox request/response types * fix: improve log view layout responsiveness by adding overflow handling and flex constraints * perf: fix review --------- Co-authored-by: archer <545436317@qq.com>
目录说明
该目录为 FastGPT 的依赖包,多端复用。