1 Star 0 Fork 296

cgb-lowcode/ueditor-plus

forked from ModStartLib/ueditor-plus 
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
bugTest.html 761 Bytes
一键复制 编辑 原始数据 按行查看 历史
MZ 提交于 2023-12-02 15:39 +08:00 . 新增:iconfont优化调整
<!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">
<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/cgb-lowcode/ueditor-plus.git
git@gitee.com:cgb-lowcode/ueditor-plus.git
cgb-lowcode
ueditor-plus
ueditor-plus
master

搜索帮助