mirror of https://github.com/fantasticit/think.git
don't show text-bubble-menu when columns is active
This commit is contained in:
parent
d5a1d824a9
commit
408e928428
|
@ -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 }) => {
|
||||
|
|
Loading…
Reference in New Issue