From 4a40457b54cc4a638eeb8898142f7cf1eb9d182f Mon Sep 17 00:00:00 2001 From: odex Date: Thu, 20 Jun 2024 22:19:53 +0800 Subject: [PATCH] fix: recognize as a new line --- packages/quill/src/modules/clipboard.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/quill/src/modules/clipboard.ts b/packages/quill/src/modules/clipboard.ts index e4c3f755b5..12a4fc3bce 100644 --- a/packages/quill/src/modules/clipboard.ts +++ b/packages/quill/src/modules/clipboard.ts @@ -348,6 +348,7 @@ function isLine(node: Node, scroll: ScrollBlot) { 'pre', 'section', 'table', + 'th', 'td', 'tr', 'ul',