mammoth实现浏览器中读取word文档内容示例代码

代码语言:html

所属分类:其他

代码描述:mammoth实现浏览器中读取word文档内容示例代码

代码标签: mammoth 浏览器 读取 word 文档 内容 示例 代码

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">
<head>
   
<meta charset="UTF-8">
   
<meta name="viewport" content="width=device-width, initial-scale=1.0">
   
<title>Word Text Extractor</title>
 
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/mammoth.browser.js"></script>
</head>
<body>
   
<h1>Word Text Extractor</h1>
    <input type="file" id="fileInput" accept=".docx&.........完整代码请登录后点击上方下载按钮下载查看

网友评论0