Skip to content

Commit

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

/area ui
/kind cleanup
/milestone 2.20.x

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

Bump tiptap version to 2.11.x

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

```release-note
None
```
  • Loading branch information
ruibaby authored Jan 21, 2025
1 parent 7efac2c commit 5aab5e1
Show file tree
Hide file tree
Showing 5 changed files with 304 additions and 300 deletions.
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@halo-dev/console-shared": "workspace:*",
"@halo-dev/richtext-editor": "workspace:*",
"@tanstack/vue-query": "^4.29.1",
"@tiptap/extension-character-count": "^2.10.2",
"@tiptap/extension-character-count": "^2.11.2",
"@uppy/core": "^3.11.3",
"@uppy/dashboard": "^3.8.3",
"@uppy/drag-drop": "^3.1.0",
Expand Down
72 changes: 36 additions & 36 deletions ui/packages/editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,42 +41,42 @@
},
"dependencies": {
"@ckpack/vue-color": "^1.5.0",
"@tiptap/core": "^2.10.2",
"@tiptap/extension-blockquote": "^2.10.2",
"@tiptap/extension-bold": "^2.10.2",
"@tiptap/extension-bullet-list": "^2.10.2",
"@tiptap/extension-code": "^2.10.2",
"@tiptap/extension-code-block": "^2.10.2",
"@tiptap/extension-color": "^2.10.2",
"@tiptap/extension-document": "^2.10.2",
"@tiptap/extension-dropcursor": "^2.10.2",
"@tiptap/extension-hard-break": "^2.10.2",
"@tiptap/extension-heading": "^2.10.2",
"@tiptap/extension-highlight": "^2.10.2",
"@tiptap/extension-history": "^2.10.2",
"@tiptap/extension-horizontal-rule": "^2.10.2",
"@tiptap/extension-image": "^2.10.2",
"@tiptap/extension-italic": "^2.10.2",
"@tiptap/extension-link": "^2.10.2",
"@tiptap/extension-list-item": "^2.10.2",
"@tiptap/extension-list-keymap": "^2.10.2",
"@tiptap/extension-ordered-list": "^2.10.2",
"@tiptap/extension-paragraph": "^2.10.2",
"@tiptap/extension-placeholder": "^2.10.2",
"@tiptap/extension-strike": "^2.10.2",
"@tiptap/extension-subscript": "^2.10.2",
"@tiptap/extension-superscript": "^2.10.2",
"@tiptap/extension-table": "^2.10.2",
"@tiptap/extension-table-row": "^2.10.2",
"@tiptap/extension-task-item": "^2.10.2",
"@tiptap/extension-task-list": "^2.10.2",
"@tiptap/extension-text": "^2.10.2",
"@tiptap/extension-text-align": "^2.10.2",
"@tiptap/extension-text-style": "^2.10.2",
"@tiptap/extension-underline": "^2.10.2",
"@tiptap/pm": "^2.10.2",
"@tiptap/suggestion": "^2.10.2",
"@tiptap/vue-3": "^2.10.2",
"@tiptap/core": "^2.11.2",
"@tiptap/extension-blockquote": "^2.11.2",
"@tiptap/extension-bold": "^2.11.2",
"@tiptap/extension-bullet-list": "^2.11.2",
"@tiptap/extension-code": "^2.11.2",
"@tiptap/extension-code-block": "^2.11.2",
"@tiptap/extension-color": "^2.11.2",
"@tiptap/extension-document": "^2.11.2",
"@tiptap/extension-dropcursor": "^2.11.2",
"@tiptap/extension-hard-break": "^2.11.2",
"@tiptap/extension-heading": "^2.11.2",
"@tiptap/extension-highlight": "^2.11.2",
"@tiptap/extension-history": "^2.11.2",
"@tiptap/extension-horizontal-rule": "^2.11.2",
"@tiptap/extension-image": "^2.11.2",
"@tiptap/extension-italic": "^2.11.2",
"@tiptap/extension-link": "^2.11.2",
"@tiptap/extension-list-item": "^2.11.2",
"@tiptap/extension-list-keymap": "^2.11.2",
"@tiptap/extension-ordered-list": "^2.11.2",
"@tiptap/extension-paragraph": "^2.11.2",
"@tiptap/extension-placeholder": "^2.11.2",
"@tiptap/extension-strike": "^2.11.2",
"@tiptap/extension-subscript": "^2.11.2",
"@tiptap/extension-superscript": "^2.11.2",
"@tiptap/extension-table": "^2.11.2",
"@tiptap/extension-table-row": "^2.11.2",
"@tiptap/extension-task-item": "^2.11.2",
"@tiptap/extension-task-list": "^2.11.2",
"@tiptap/extension-text": "^2.11.2",
"@tiptap/extension-text-align": "^2.11.2",
"@tiptap/extension-text-style": "^2.11.2",
"@tiptap/extension-underline": "^2.11.2",
"@tiptap/pm": "^2.11.2",
"@tiptap/suggestion": "^2.11.2",
"@tiptap/vue-3": "^2.11.2",
"floating-vue": "^5.2.2",
"github-markdown-css": "^5.2.0",
"linkifyjs": "^4.1.3",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script lang="ts" setup>
import { computed, defineProps, ref, watch } from "vue";
import IconArrowDownLine from "~icons/ri/arrow-down-s-line";
import { Dropdown as VDropdown } from "floating-vue";
import { computed, ref, watch } from "vue";
import IconArrowDownLine from "~icons/ri/arrow-down-s-line";
export interface Option {
label: string;
Expand Down
5 changes: 2 additions & 3 deletions ui/packages/editor/src/extensions/table/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
type EditorState,
type NodeView,
type Node as ProseMirrorNode,
type ViewMutationRecord,
} from "@/tiptap/pm";
import type { ExtensionOptions, NodeBubbleMenu } from "@/types";
import TiptapTable, {
Expand Down Expand Up @@ -185,9 +186,7 @@ class TableView implements NodeView {
}
}

ignoreMutation(
mutation: MutationRecord | { type: "selection"; target: Element }
) {
ignoreMutation(mutation: ViewMutationRecord) {
return (
mutation.type === "attributes" &&
(mutation.target === this.table ||
Expand Down
Loading

0 comments on commit 5aab5e1

Please sign in to comment.