1 Star 0 Fork 0

泽优软件/zyoffice-ewebeditor9x

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index-layer.html 1.72 KB
一键复制 编辑 原始数据 按行查看 历史
xfl 提交于 2024-11-19 17:09 . 优化加载逻辑
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!--此页面实现Word图片自动批量上传的功能-->
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>zyOffice For eWebEditor9x</title>
<link type="text/css" rel="Stylesheet" href="demo.css" />
<script type="text/javascript" src="zyoffice/js/jquery-1.8.3.min.js" charset="utf-8"></script>
<script type="text/javascript" src="zyoffice/js/json2.min.js" charset="utf-8"></script>
<script type="text/javascript" src="zyoffice/js/layer-3.1.1/layer.js" charset="utf-8"></script>
<script type="text/javascript" src="zyoffice/js/w.layer.js" charset="utf-8"></script>
<script type="text/javascript" src="demo.js" charset="utf-8"></script>
</head>
<body>
<div id="demos"></div>
<!--创建FCKEditor控件-->
<textarea name="content1" style="display:none"></textarea>
<iframe id="eWebEditor1" src="ewebeditor.htm?id=content1&style=coolblue" frameborder="0" scrolling="no" width="600" height="350"></iframe>
<script type="text/javascript">
zyOffice.getInstance({
word:"http://localhost:13710/zyoffice/word/convert",
wordExport:"http://localhost:13710/zyoffice/word/export",
pdf:"http://localhost:13710/zyoffice/pdf/upload"
});//加载控件
function EWEBEDITOR_EVENT(ev)
{
if (ev.flag == "LoadComplete")
{
var editor = document.getElementById("eWebEditor1").contentWindow;
zyOffice.getInstance().SetEditor(editor);
}
}
</script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xproer/zyoffice-ewebeditor9x.git
git@gitee.com:xproer/zyoffice-ewebeditor9x.git
xproer
zyoffice-ewebeditor9x
zyoffice-ewebeditor9x
master

搜索帮助