don't show text-bubble-menu when columns is active

This commit is contained in:
fantasticit 2022-09-18 13:12:20 +08:00
parent d5a1d824a9
commit 408e928428
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import { BubbleMenu } from 'tiptap/core/bubble-menu';
import { Attachment } from 'tiptap/core/extensions/attachment';
import { Callout } from 'tiptap/core/extensions/callout';
import { CodeBlock } from 'tiptap/core/extensions/code-block';
import { Columns } from 'tiptap/core/extensions/columns';
import { Countdown } from 'tiptap/core/extensions/countdown';
import { DocumentChildren } from 'tiptap/core/extensions/document-children';
import { DocumentReference } from 'tiptap/core/extensions/document-reference';
@ -49,6 +50,7 @@ const OTHER_BUBBLE_MENU_TYPES = [
HorizontalRule.name,
Status.name,
Excalidraw.name,
Columns.name,
];
export const Text = ({ editor }) => {