xh-htmlword 1.1.5 → 1.1.7
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/index.d.ts +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
@@ -291,7 +291,7 @@ const handleExport = () => {
|
|
291
291
|
|
292
292
|
## 注意事项
|
293
293
|
|
294
|
-
html 模版需要全局使用行内样式,否则生成的 word 文档样式不生效,img 标签可以使用 width/height
|
294
|
+
html 模版需要全局使用行内样式,否则生成的 word 文档样式不生效,img 标签可以使用 width/height 属性设置宽高,建议全局使用 pt 作为尺寸单位
|
295
295
|
绝大部分 css3 样式无法生效,建议直接使用原生 table 标签编写
|
296
296
|
|
297
297
|
## 开源协议
|
package/index.d.ts
CHANGED
package/package.json
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
{
|
2
2
|
"name": "xh-htmlword",
|
3
|
-
"version": "1.1.
|
3
|
+
"version": "1.1.7",
|
4
4
|
"type": "module",
|
5
5
|
"description": "用于html页转word文档的工具",
|
6
6
|
"files": [
|
7
7
|
"dist",
|
8
8
|
"index.d.ts"
|
9
9
|
],
|
10
|
-
"main": "./dist/
|
11
|
-
"module": "./dist/
|
10
|
+
"main": "./dist/xh.umd.cjs",
|
11
|
+
"module": "./dist/xh.js",
|
12
12
|
"types": "./index.d.ts",
|
13
13
|
"exports": {
|
14
14
|
"types": "./index.d.ts",
|
15
|
-
"import": "./dist/
|
16
|
-
"require": "./dist/
|
15
|
+
"import": "./dist/xh.js",
|
16
|
+
"require": "./dist/xh.umd.cjs"
|
17
17
|
},
|
18
18
|
"scripts": {
|
19
19
|
"dev": "vite --open",
|