ui: add data-preview (#412)

Co-authored-by: undefined <i@undefined.moe>
This commit is contained in:
pandaandundefined authored and GitHub committed 2022-08-22 03:27:11 +08:00
1 parent b7cdadc255
commit 388adbedde
10 files changed
+177 -112

No files matched your search

@@ -105,7 +105,7 @@ export function Media(md: MarkdownIt) {
if (service === 'msoffice') {
return `\
<iframe src="https://view.officeapps.live.com/op/view.aspx?src=${encodeURIComponent(src)}"
scrolling="no" border="0" frameborder="no" framespacing="0" width="100%" style="min-height:500px" ${allowFullScreen}></iframe>
scrolling="no" border="0" frameborder="no" framespacing="0" width="100%" style="min-height:500px" ${allowFullScreen}></iframe>
`;
}
if (service === 'pdf') {