client: fix bubble text menu

This commit is contained in:
fantasticit 2022-05-25 09:37:50 +08:00
parent c0edbf320c
commit 5fa1cc3e37
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@ import React, { useCallback } from 'react';
import { Attachment } from 'tiptap/core/extensions/attachment'; import { Attachment } from 'tiptap/core/extensions/attachment';
import { Callout } from 'tiptap/core/extensions/callout'; import { Callout } from 'tiptap/core/extensions/callout';
import { CodeBlock } from 'tiptap/core/extensions/code-block'; import { CodeBlock } from 'tiptap/core/extensions/code-block';
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 { Flow } from 'tiptap/core/extensions/flow'; import { Flow } from 'tiptap/core/extensions/flow';
@ -31,6 +32,7 @@ const OTHER_BUBBLE_MENU_TYPES = [
Title.name, Title.name,
Link.name, Link.name,
Attachment.name, Attachment.name,
Countdown.name,
Image.name, Image.name,
Callout.name, Callout.name,
CodeBlock.name, CodeBlock.name,