From 5fa1cc3e37b1e27463a3492c50ddcce6952238a4 Mon Sep 17 00:00:00 2001 From: fantasticit Date: Wed, 25 May 2022 09:37:50 +0800 Subject: [PATCH] client: fix bubble text menu --- packages/client/src/tiptap/editor/menus/text/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/client/src/tiptap/editor/menus/text/index.tsx b/packages/client/src/tiptap/editor/menus/text/index.tsx index b8c3683c..14e0aa40 100644 --- a/packages/client/src/tiptap/editor/menus/text/index.tsx +++ b/packages/client/src/tiptap/editor/menus/text/index.tsx @@ -3,6 +3,7 @@ import React, { useCallback } from 'react'; import { Attachment } from 'tiptap/core/extensions/attachment'; import { Callout } from 'tiptap/core/extensions/callout'; import { CodeBlock } from 'tiptap/core/extensions/code-block'; +import { Countdown } from 'tiptap/core/extensions/countdown'; import { DocumentChildren } from 'tiptap/core/extensions/document-children'; import { DocumentReference } from 'tiptap/core/extensions/document-reference'; import { Flow } from 'tiptap/core/extensions/flow'; @@ -31,6 +32,7 @@ const OTHER_BUBBLE_MENU_TYPES = [ Title.name, Link.name, Attachment.name, + Countdown.name, Image.name, Callout.name, CodeBlock.name,