From 704be3b4357b60987e3a25f1b1f44cb17dd3f4a3 Mon Sep 17 00:00:00 2001 From: fantasticit Date: Thu, 31 Mar 2022 23:08:28 +0800 Subject: [PATCH] fix: fix filename style --- packages/client/src/tiptap/wrappers/attachment/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/client/src/tiptap/wrappers/attachment/index.tsx b/packages/client/src/tiptap/wrappers/attachment/index.tsx index 70e62121..bb6e8ace 100644 --- a/packages/client/src/tiptap/wrappers/attachment/index.tsx +++ b/packages/client/src/tiptap/wrappers/attachment/index.tsx @@ -102,7 +102,9 @@ export const AttachmentWrapper = ({ editor, node, updateAttributes }) => {
{getFileTypeIcon(type)} - {fileName}.{fileExt} + + {fileName}.{fileExt} + ({normalizeFileSize(fileSize)})