zt-tiptap-export-pdf 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -4
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -1,10 +1,12 @@
1
1
  # zt-tiptap-export-pdf
2
2
 
3
- 使用 `jsPDF` 在浏览器中将 Tiptap / ProseMirror 编辑器正文节点导出为 PDF。
3
+ 使用 `jsPDF` 在浏览器中将 Tiptap / ProseMirror 编辑器正文节点导出为 PDF。
4
+ 仓库地址:[https://github.com/lzt-T/zt-tiptap-export-pdf](https://github.com/lzt-T/zt-tiptap-export-pdf)
5
+ 演示地址:[https://tiptap.xjoker.top/](https://tiptap.xjoker.top/)
6
+
7
+ ## 安装
4
8
 
5
- ## 安装
6
-
7
- 项目使用 `pnpm` 管理依赖:
9
+ 使用 `pnpm` 管理依赖:
8
10
 
9
11
  ```bash
10
12
  pnpm add zt-tiptap-export-pdf
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zt-tiptap-export-pdf",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Export editor DOM content to PDF in browser using jsPDF",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -12,6 +12,7 @@
12
12
  ],
13
13
  "scripts": {
14
14
  "build": "tsc -p tsconfig.json",
15
+ "prepublishOnly": "pnpm run build",
15
16
  "test:manual": "vite manual-test --config manual-test/vite.config.ts"
16
17
  },
17
18
  "keywords": [