From 758f376a169414aee8f17ed60151827ff606eb02 Mon Sep 17 00:00:00 2001 From: fantasticit Date: Tue, 26 Apr 2022 08:53:50 +0800 Subject: [PATCH] tiptap: fix tooltip style --- packages/client/src/tiptap/wrappers/attachment/index.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/client/src/tiptap/wrappers/attachment/index.tsx b/packages/client/src/tiptap/wrappers/attachment/index.tsx index dd3a3739..39767284 100644 --- a/packages/client/src/tiptap/wrappers/attachment/index.tsx +++ b/packages/client/src/tiptap/wrappers/attachment/index.tsx @@ -73,7 +73,12 @@ export const AttachmentWrapper = ({ editor, node, updateAttributes }) => {
{getFileTypeIcon(fileType)} - + {fileName}.{fileExt} ({normalizeFileSize(fileSize)})