Skip to content

Commit 1f2b5d1

Browse files
fix: solve ts error
1 parent 5e435e2 commit 1f2b5d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/cms/src/components/RichTextEditor/components/tiptap-extension/link-extension.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export const Link = TiptapLink.extend({
1818
const { editor } = this
1919

2020
return [
21+
// @ts-expect-error the inner logic of TipTap
2122
...(this.parent?.() || []),
2223
new Plugin({
2324
props: {

0 commit comments

Comments
 (0)