diff --git a/apps/client/src/features/editor/components/common/editor-paste-handler.tsx b/apps/client/src/features/editor/components/common/editor-paste-handler.tsx index dea1f73c..6407d835 100644 --- a/apps/client/src/features/editor/components/common/editor-paste-handler.tsx +++ b/apps/client/src/features/editor/components/common/editor-paste-handler.tsx @@ -54,7 +54,10 @@ export const handlePaste = ( return true; } - if (event.clipboardData?.files.length) { + const htmlData = event.clipboardData?.getData("text/html"); + const hasHtmlTable = htmlData && /