From 880d942066c03c0d03af3534a7733b72a0f9e412 Mon Sep 17 00:00:00 2001 From: fantasticit Date: Sat, 13 Aug 2022 13:01:25 +0800 Subject: [PATCH 1/2] tiptap: remove console --- packages/client/src/tiptap/core/extensions/dragable.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/client/src/tiptap/core/extensions/dragable.ts b/packages/client/src/tiptap/core/extensions/dragable.ts index 5a52cd7..2278960 100644 --- a/packages/client/src/tiptap/core/extensions/dragable.ts +++ b/packages/client/src/tiptap/core/extensions/dragable.ts @@ -159,8 +159,6 @@ export const Dragable = Extension.create({ return false; } - console.log(result); - renderDragHandleDOM(view, result.el); return false; }, From 93d97b2f91d9b6eab1b56c0e42b77c7568e62865 Mon Sep 17 00:00:00 2001 From: fantasticit Date: Sat, 13 Aug 2022 13:01:59 +0800 Subject: [PATCH 2/2] client: fix style --- packages/client/src/components/document/version/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/client/src/components/document/version/index.tsx b/packages/client/src/components/document/version/index.tsx index 8ea7930..fe0819a 100644 --- a/packages/client/src/components/document/version/index.tsx +++ b/packages/client/src/components/document/version/index.tsx @@ -117,7 +117,7 @@ export const DocumentVersion: React.FC> = ({ documentId, onSelec })}
对比
- + 增加的内容 删除的内容 @@ -148,8 +148,8 @@ export const DocumentVersion: React.FC> = ({ documentId, onSelec empty={!loading && !data.length} normalContent={() => (
-
-
+
+
{diffVersion ? (
) : (