1 Star 0 Fork 296

天夜孤风/ueditor-plus

forked from ModStartLib/ueditor-plus 
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
bugTest.html 802 Bytes
一键复制 编辑 原始数据 按行查看 历史
git 提交于 2025-04-15 13:37 +08:00 . 优化:清除缓存
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="./example.js"></script>
<title></title>
</head>
<body>
<input type="file" name="file"/>
<div id="container" style="margin:10px;padding:10px;border:1px solid; text-align:left; min-height:500px;"></div>
<script src="./../docx2html.min.js"></script>
<script>
const docx2html = require("docx2html");
document.querySelector('input[type=file]').addEventListener('change', function (e) {
docx2html(e.target.files[0], {container: document.querySelector("#container")})
.then(function (html) {
console.log(html);
});
});
</script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wanggood/ueditor-plus.git
git@gitee.com:wanggood/ueditor-plus.git
wanggood
ueditor-plus
ueditor-plus
master

搜索帮助