mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
ui: add data-preview (#412)
Co-authored-by: undefined <i@undefined.moe>
This commit is contained in:
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') {
|
||||
|
||||
Reference in new issue
Block a user