@mario9/tiptap-editor 1.1.1 → 1.1.2

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 +8 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  基于 Tiptap + Vue 3 的富文本编辑器组件,支持 Feature Plugin 架构,消费方可按需引入功能模块实现 tree-shaking。
4
4
 
5
+ ## 在线演示
6
+
7
+ - 🚀 [jsDelivr CDN(国内推荐)](https://cdn.jsdelivr.net/gh/hmfw/tiptap-editor@gh-pages/index.html)
8
+ - 🆎 [Statically CDN(国内备用)](https://cdn.statically.io/gh/hmfw/tiptap-editor/gh-pages/index.html)
9
+ - 🌍 [GitHub Pages(国际访问)](https://hmfw.github.io/tiptap-editor/)
10
+
11
+ > 多个链接均指向同一份演示,按访问速度自选。
12
+
5
13
  ## 效果预览
6
14
 
7
15
  ![编辑器全貌](https://cdn.jsdelivr.net/gh/hmfw/tiptap-editor@main/docs/screenshots/screenshot-overview.png)
@@ -16,12 +24,6 @@
16
24
  pnpm add @mario9/tiptap-editor
17
25
  ```
18
26
 
19
- 安装 peer dependencies:
20
-
21
- ```bash
22
- pnpm add vue element-plus katex lowlight @tiptap/core @tiptap/starter-kit @tiptap/vue-3 @tiptap/pm @tiptap/extensions @tiptap/extension-bubble-menu @tiptap/extension-code-block-lowlight @tiptap/extension-highlight @tiptap/extension-horizontal-rule @tiptap/extension-image @tiptap/extension-list @tiptap/extension-mathematics @tiptap/extension-placeholder @tiptap/extension-subscript @tiptap/extension-superscript @tiptap/extension-table @tiptap/extension-text-align @tiptap/extension-typography
23
- ```
24
-
25
27
  ## 快速开始
26
28
 
27
29
  不传 `features` 时编辑器只有基础输入能力(无工具栏)。通过 `:features` 按需组合功能:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mario9/tiptap-editor",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "基于 Tiptap + Vue 3 的富文本编辑器组件。",
5
5
  "type": "module",
6
6
  "main": "./dist/tiptap-editor.umd.cjs",