这个案例是关于在网页的 iframe 中嵌入一个文档。文档加载正确。最终用户应该能够编辑文档。但是,当最终用户想要通过单击“插入”>“图像”来添加图像时,他会看到一个空白弹出窗口。
<html>
<body>
<iframe src="https://docs.google.com/document/d/101KCoVpNM1QTXIILePLDE0GSPbrb5LGidnbF0iFSEos/edit" width="600px" height="600px" />
</body>
</html>
最佳答案
首先,请确保您插入的图像文件类型受支持,如 Importing to Google Docs types 中所列.对于图像,您可以使用以下内容:
- JPG
- PNG
- 动图
- 骨形态发生蛋白
接下来,您可能需要检查以下 forum threads其中提供了所需的设置以及有关如何正确插入图像的指南。
- Insert Image -> just blank (does not show, except in print preview)
- Insert Pictures Do Not Preview or Print Out
最后,您可能还想查看此 related post 中的响应其中建议您可以将文档发布为网页并从结果网页的源中获取图像 URL,因为 Google 文档插入的图像没有用户可以从编辑 View 中获取的 URL。
关于html - 编辑嵌入的谷歌文档时,要插入图像时会显示空白驱动器选择器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42165437/