We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9009369 commit 03dd752Copy full SHA for 03dd752
packages/core/src/extensions/TableHandles/TableHandles.ts
@@ -621,12 +621,16 @@ export const TableHandlesExtension = createExtension(({ editor }) => {
621
key: tableHandlesPluginKey,
622
view: (editorView) => {
623
view = new TableHandlesView(editor as any, editorView, (state) => {
624
- store.setState({
625
- ...state,
626
- draggingState: state.draggingState
627
- ? { ...state.draggingState }
+ store.setState(
+ state.block
+ ? {
+ ...state,
628
+ draggingState: state.draggingState
629
+ ? { ...state.draggingState }
630
+ : undefined,
631
+ }
632
: undefined,
- });
633
+ );
634
});
635
return view;
636
},
0 commit comments