-
-
Notifications
You must be signed in to change notification settings - Fork 605
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Interface used:
editor.pasteHTML(htmlContent)
There was no error in parsing, but there was an error during rendering
@blocknote_mantine.js?v=babd5bd0:3122 React Router caught the following error during render Error: Unable to create occupancy grid for table, cell at 7,4 is already occupied
at se (chunk-ZCPZYKUF.js?v=babd5bd0:32813:19)
at ct (chunk-ZCPZYKUF.js?v=babd5bd0:32866:14)
at Ja.getCellsAtRowHandle (chunk-ZCPZYKUF.js?v=babd5bd0:39434:47)
at chunk-NLZQ7PNC.js?v=babd5bd0:9947:177
at mountMemo (chunk-IWVTWCFK.js?v=babd5bd0:5052:25)
at Object.useMemo (chunk-IWVTWCFK.js?v=babd5bd0:16513:20)
at exports.useMemo (chunk-6HCHRQCU.js?v=babd5bd0:918:36)
at qr2 (chunk-NLZQ7PNC.js?v=babd5bd0:9945:122)
at Object.react_stack_bottom_frame (chunk-IWVTWCFK.js?v=babd5bd0:17424:20)
at renderWithHooks (chunk-IWVTWCFK.js?v=babd5bd0:4206:24)
{componentStack: '\n at qr2 (http://localhost:5173/node_modules/.v…ocalhost:5173/src/app.tsx?t=1755242205231:163:35)'}
componentStack
:
"\n at qr2 (http://localhost:5173/node_modules/.vite/deps/chunk-NLZQ7PNC.js?v=babd5bd0:9945:13)\n at div (<anonymous>)\n at FloatingPortal (http://localhost:5173/node_modules/.vite/deps/chunk-NLZQ7PNC.js?v=babd5bd0:1850:5)\n at oi (http://localhost:5173/node_modules/.vite/deps/chunk-NLZQ7PNC.js?v=babd5bd0:10259:13)\n at ri (http://localhost:5173/node_modules/.vite/deps/chunk-NLZQ7PNC.js?v=babd5bd0:10384:13)\n at mi (http://localhost:5173/node_modules/.vite/deps/chunk-NLZQ7PNC.js?v=babd5bd0:10589:13)\n at div (<anonymous>)\n at http://localhost:5173/node_modules/.vite/deps/chunk-NLZQ7PNC.js?v=babd5bd0:10577:57\n at di (http://localhost:5173/node_modules/.vite/deps/chunk-NLZQ7PNC.js?v=babd5bd0:10504:13)\n at MantineThemeProvider (http://localhost:5173/node_modules/.vite/deps/@blocknote_mantine.js?v=babd5bd0:2747:3)\n at MantineProvider (http://localhost:5173/node_modules/.vite/deps/@blocknote_mantine.js?v=babd5bd0:3209:3)\n at Ot (http://localhost:5173/node_modules/.vite/deps/@blocknote_mantine.js?v=babd5bd0:26324:22)\n at div (<anonymous>)\n at div (<anonymous>)\n at div (<anonymous>)\n at div (<anonymous>)\n at div (<anonymous>)\n at AddTemplatePage (http://localhost:5173/src/open_canvas/components/chat-interface/templateManage/AddTemplatePage.tsx?t=1755241881868:68:35)\n at div (<anonymous>)\n at AddTemplatePageRouter (http://localhost:5173/src/pages/SmartWriting/AddTemplatePageRouter.tsx?t=1755241881868:24:20)\n at RenderedRoute (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=babd5bd0:5525:26)\n at Outlet (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=babd5bd0:6195:26)\n at main (<anonymous>)\n at div (<anonymous>)\n at div (<anonymous>)\n at TemplateEditProvider (http://localhost:5173/src/contexts/TemplateEditContext.tsx:20:40)\n at SmartWritingProvider (http://localhost:5173/src/contexts/SmartWritingContext.tsx:20:40)\n at CanvasCoreProvider (http://localhost:5173/src/open_canvas/contexts/CanvasCoreContext.tsx:36:38)\n at ThreadProvider (http://localhost:5173/src/open_canvas/contexts/ThreadProvider.tsx:24:34)\n at Suspense (<anonymous>)\n at SmartWritingLayout (http://localhost:5173/src/pages/SmartWriting/index.tsx:25:38)\n at SmartWritingPage (<anonymous>)\n at RenderedRoute (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=babd5bd0:5525:26)\n at Outlet (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=babd5bd0:6195:26)\n at main (<anonymous>)\n at div (<anonymous>)\n at DocumentSelectorProvider (http://localhost:5173/src/contexts/DocumentSelectorContext.tsx:23:44)\n at MainLayout (http://localhost:5173/src/layouts/MainLayout.tsx:47:41)\n at RenderedRoute (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=babd5bd0:5525:26)\n at RenderErrorBoundary (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=babd5bd0:5484:5)\n at DataRoutes (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=babd5bd0:6119:3)\n at Router (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=babd5bd0:6204:13)\n at RouterProvider (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=babd5bd0:5949:11)\n at RouterProvider2 (<anonymous>)\n at KnowledgeRepoProvider (http://localhost:5173/src/contexts/KnowledgeRepoContext.tsx:42:41)\n at ScanningProvider (http://localhost:5173/src/contexts/ScanningContext.tsx:20:36)\n at ModelProvider (http://localhost:5173/src/contexts/ModelContext.tsx:20:33)\n at AgentProvider (http://localhost:5173/src/contexts/AgentContext.tsx:22:33)\n at AuthProvider (http://localhost:5173/src/contexts/AuthContext.tsx:127:32)\n at Root (http://localhost:5173/src/app.tsx?t=1755242205231:163:35)"
[[Prototype]]
:
Object
Error: Unable to create occupancy grid for table, cell at 7,4 is already occupied
at se (chunk-ZCPZYKUF.js?v=babd5bd0:32813:19)
at ct (chunk-ZCPZYKUF.js?v=babd5bd0:32866:14)
at Ja.getCellsAtRowHandle (chunk-ZCPZYKUF.js?v=babd5bd0:39434:47)
at chunk-NLZQ7PNC.js?v=babd5bd0:9947:177
at mountMemo (chunk-IWVTWCFK.js?v=babd5bd0:5052:25)
at Object.useMemo (chunk-IWVTWCFK.js?v=babd5bd0:16513:20)
at exports.useMemo (chunk-6HCHRQCU.js?v=babd5bd0:918:36)
at qr2 (chunk-NLZQ7PNC.js?v=babd5bd0:9945:122)
at Object.react_stack_bottom_frame (chunk-IWVTWCFK.js?v=babd5bd0:17424:20)
at renderWithHooks (chunk-IWVTWCFK.js?v=babd5bd0:4206:24)
The above error occurred in the <qr2> component.
React will try to recreate this component tree from scratch using the error boundary you provided, RenderErrorBoundary.
To Reproduce
Misc
- Node version:
- Package manager:
- Browser:
- I'm a sponsor and would appreciate if you could look into this sooner than later 💖
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working