![]() |
爱玩的黑框眼镜 · iframe刷新父页面__iframe获取父 ...· 1 月前 · |
![]() |
英俊的草稿纸 · iframe子页面刷新父级页面跨域_ios ...· 1 月前 · |
![]() |
俊秀的毛衣 · 刷新iframe,父页面连带刷新_js ...· 1 月前 · |
![]() |
多情的仙人球 · postMessage解决iframe跨域通 ...· 1 月前 · |
![]() |
朝气蓬勃的石榴 · iframe之键盘事件监听 - 莫小龙 · 1 月前 · |
![]() |
痛苦的帽子 · CoreWebView2.CapturePr ...· 5 月前 · |
![]() |
骑白马的黑框眼镜 · CVPR 2021大赛, 安全AI ...· 1 年前 · |
![]() |
茫然的香槟 · c# change display ...· 1 年前 · |
![]() |
听话的板栗 · Configure Azure AD ...· 1 年前 · |
![]() |
踢足球的火腿肠 · 移动端日期选择,下拉框选择效果 - ...· 1 年前 · |
我正在寻找一种在
iframe
中嵌入Office Online编辑器的方法。我需要
https://portal.office.com/
作为iframe的
src
,但这似乎不起作用。
然后我想我也许可以在其中嵌入一个空文档,并在使用时将其另存为新文件。然而,这似乎是不可能的,因为嵌入的文档是以只读的形式呈现的。
有人知道如何在
iframe
中嵌入Office Online编辑器吗
我已经在 jsfiddle.net/n7e3wv6v/33 中使用过这个小提琴
发布于 2018-07-09 16:46:24
是的,我认为这可以用以下代码来完成,src文档必须是公共的,并且是office (docx,xls ...)已知的扩展:
<iframe src='https://view.officeapps.live.com/op/embed.aspx?src=http://remote.url.tld/path/to/document.doc' width='1366px' height='623px' frameborder='0'>
This is an embedded
<a target='_blank' href='http://office.com'>Microsoft Office</a>
document, powered by
<a target='_blank' href='http://office.com/webapps'>Office Online</a>.
https://stackoverflow.com/questions/51188729
复制相似问题
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2024 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号: 粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
![]() |
朝气蓬勃的石榴 · iframe之键盘事件监听 - 莫小龙 1 月前 |