tiptap: fix bubble menu

This commit is contained in:
fantasticit 2022-09-16 20:42:00 +08:00
parent 57ac872948
commit 22e48e32b3
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ import { CodeBlock } from 'tiptap/core/extensions/code-block';
import { Countdown } from 'tiptap/core/extensions/countdown'; import { Countdown } from 'tiptap/core/extensions/countdown';
import { DocumentChildren } from 'tiptap/core/extensions/document-children'; import { DocumentChildren } from 'tiptap/core/extensions/document-children';
import { DocumentReference } from 'tiptap/core/extensions/document-reference'; import { DocumentReference } from 'tiptap/core/extensions/document-reference';
import { Excalidraw } from 'tiptap/core/extensions/excalidraw';
import { Flow } from 'tiptap/core/extensions/flow'; import { Flow } from 'tiptap/core/extensions/flow';
import { HorizontalRule } from 'tiptap/core/extensions/horizontal-rule'; import { HorizontalRule } from 'tiptap/core/extensions/horizontal-rule';
import { Iframe } from 'tiptap/core/extensions/iframe'; import { Iframe } from 'tiptap/core/extensions/iframe';
@ -47,6 +48,7 @@ const OTHER_BUBBLE_MENU_TYPES = [
Katex.name, Katex.name,
HorizontalRule.name, HorizontalRule.name,
Status.name, Status.name,
Excalidraw.name,
]; ];
export const Text = ({ editor }) => { export const Text = ({ editor }) => {