Skip to content

Commit

Permalink
chore: bump tiptap version to 2.1.16 (#5210)
Browse files Browse the repository at this point in the history
#### What type of PR is this?

/area console
/area editor
/milestone 2.12.x
/kind bug

#### What this PR does / why we need it:

升级 tiptap 相关依赖,解决代码块中换行的问题。

#### Which issue(s) this PR fixes:

Fixes #5207

#### Special notes for your reviewer:

测试方式:

1. 进入 console/packages/editor,更新依赖
2. 使用 pnpm dev 启动编辑器服务
3. 插入一个代码块,然后刷新页面,观察代码块是否显示正常

#### Does this PR introduce a user-facing change?

```release-note
None
```
  • Loading branch information
ruibaby authored Jan 19, 2024
1 parent 6a37df0 commit df8bb33
Show file tree
Hide file tree
Showing 3 changed files with 255 additions and 255 deletions.
2 changes: 1 addition & 1 deletion console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@halo-dev/console-shared": "workspace:*",
"@halo-dev/richtext-editor": "workspace:*",
"@tanstack/vue-query": "^4.29.1",
"@tiptap/extension-character-count": "^2.1.15",
"@tiptap/extension-character-count": "^2.1.16",
"@uppy/core": "^3.8.0",
"@uppy/dashboard": "^3.7.1",
"@uppy/drag-drop": "^3.0.3",
Expand Down
74 changes: 37 additions & 37 deletions console/packages/editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,44 +41,44 @@
},
"dependencies": {
"@ckpack/vue-color": "^1.5.0",
"@tiptap/core": "^2.1.15",
"@tiptap/extension-blockquote": "^2.1.15",
"@tiptap/extension-bold": "^2.1.15",
"@tiptap/extension-bullet-list": "^2.1.15",
"@tiptap/extension-code": "^2.1.15",
"@tiptap/extension-code-block": "^2.1.15",
"@tiptap/extension-code-block-lowlight": "^2.1.15",
"@tiptap/extension-color": "^2.1.15",
"@tiptap/extension-document": "^2.1.15",
"@tiptap/extension-dropcursor": "^2.1.15",
"@tiptap/extension-gapcursor": "^2.1.15",
"@tiptap/extension-hard-break": "^2.1.15",
"@tiptap/extension-heading": "^2.1.15",
"@tiptap/extension-highlight": "^2.1.15",
"@tiptap/extension-history": "^2.1.15",
"@tiptap/extension-horizontal-rule": "^2.1.15",
"@tiptap/extension-image": "^2.1.15",
"@tiptap/extension-italic": "^2.1.15",
"@tiptap/extension-link": "^2.1.15",
"@tiptap/extension-list-item": "^2.1.15",
"@tiptap/extension-list-keymap": "^2.1.15",
"@tiptap/extension-ordered-list": "^2.1.15",
"@tiptap/extension-paragraph": "^2.1.15",
"@tiptap/extension-placeholder": "^2.1.15",
"@tiptap/extension-strike": "^2.1.15",
"@tiptap/extension-subscript": "^2.1.15",
"@tiptap/extension-superscript": "^2.1.15",
"@tiptap/core": "^2.1.16",
"@tiptap/extension-blockquote": "^2.1.16",
"@tiptap/extension-bold": "^2.1.16",
"@tiptap/extension-bullet-list": "^2.1.16",
"@tiptap/extension-code": "^2.1.16",
"@tiptap/extension-code-block": "^2.1.16",
"@tiptap/extension-code-block-lowlight": "^2.1.16",
"@tiptap/extension-color": "^2.1.16",
"@tiptap/extension-document": "^2.1.16",
"@tiptap/extension-dropcursor": "^2.1.16",
"@tiptap/extension-gapcursor": "^2.1.16",
"@tiptap/extension-hard-break": "^2.1.16",
"@tiptap/extension-heading": "^2.1.16",
"@tiptap/extension-highlight": "^2.1.16",
"@tiptap/extension-history": "^2.1.16",
"@tiptap/extension-horizontal-rule": "^2.1.16",
"@tiptap/extension-image": "^2.1.16",
"@tiptap/extension-italic": "^2.1.16",
"@tiptap/extension-link": "^2.1.16",
"@tiptap/extension-list-item": "^2.1.16",
"@tiptap/extension-list-keymap": "^2.1.16",
"@tiptap/extension-ordered-list": "^2.1.16",
"@tiptap/extension-paragraph": "^2.1.16",
"@tiptap/extension-placeholder": "^2.1.16",
"@tiptap/extension-strike": "^2.1.16",
"@tiptap/extension-subscript": "^2.1.16",
"@tiptap/extension-superscript": "^2.1.16",
"@tiptap/extension-table": "2.2.0-rc.8",
"@tiptap/extension-table-row": "^2.1.15",
"@tiptap/extension-task-item": "^2.1.15",
"@tiptap/extension-task-list": "^2.1.15",
"@tiptap/extension-text": "^2.1.15",
"@tiptap/extension-text-align": "^2.1.15",
"@tiptap/extension-text-style": "^2.1.15",
"@tiptap/extension-underline": "^2.1.15",
"@tiptap/pm": "^2.1.15",
"@tiptap/suggestion": "^2.1.15",
"@tiptap/vue-3": "^2.1.15",
"@tiptap/extension-table-row": "^2.1.16",
"@tiptap/extension-task-item": "^2.1.16",
"@tiptap/extension-task-list": "^2.1.16",
"@tiptap/extension-text": "^2.1.16",
"@tiptap/extension-text-align": "^2.1.16",
"@tiptap/extension-text-style": "^2.1.16",
"@tiptap/extension-underline": "^2.1.16",
"@tiptap/pm": "^2.1.16",
"@tiptap/suggestion": "^2.1.16",
"@tiptap/vue-3": "^2.1.16",
"floating-vue": "2.0.0-beta.24",
"github-markdown-css": "^5.2.0",
"highlight.js": "11.8.0",
Expand Down
Loading

0 comments on commit df8bb33

Please sign in to comment.