We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
目前预览文件用的是 react-doc-viewer,他是基于微软在线预览功能,只能预览公开的文档。但是在预览压缩包的情况下,就会失效。预览压缩包本质上是读取文件数据(但是不下载),然后展示。
可以参考 DocxRenderer 实现其他格式,诸如 pptx,xlsx 的替换:
SJTU-Canvas-Helper/src/components/docx_renderer.tsx
Lines 6 to 24 in b62b345
The text was updated successfully, but these errors were encountered:
TODO-List:
Sorry, something went wrong.
No branches or pull requests
目前预览文件用的是 react-doc-viewer,他是基于微软在线预览功能,只能预览公开的文档。但是在预览压缩包的情况下,就会失效。预览压缩包本质上是读取文件数据(但是不下载),然后展示。
可以参考 DocxRenderer 实现其他格式,诸如 pptx,xlsx 的替换:
SJTU-Canvas-Helper/src/components/docx_renderer.tsx
Lines 6 to 24 in b62b345
The text was updated successfully, but these errors were encountered: