Skip to content

Commit aed9fb5

Browse files
committed
fix: resolve unneeded error being thrown
resolves: https://blocknote-js.sentry.io/issues/32147104
1 parent 003b44f commit aed9fb5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/core/src/extensions/TableHandles/TableHandlesPlugin.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -394,9 +394,7 @@ export class TableHandlesView<
394394
(element) => element.tagName === "TD" || element.tagName === "TH"
395395
);
396396
if (tableCellElements.length === 0) {
397-
throw new Error(
398-
"Could not find table cell element that the mouse cursor is hovering over."
399-
);
397+
return;
400398
}
401399
const tableCellElement = tableCellElements[0];
402400

0 commit comments

Comments
 (0)