Skip to content

Commit

Permalink
fix: CellSelection inside elements
Browse files Browse the repository at this point in the history
  • Loading branch information
areknawo committed Apr 30, 2024
1 parent bc0f892 commit a90c8a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/lib/editor/extensions/element/node.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ const Element = BaseElement.extend<Partial<ExtensionsContextData>>({
view?.deselectNode?.();
},
stopEvent(event) {
return referenceView.stopEvent(event);
return false;
},
update(newNode, decorations, innerDecorations) {
view?.update?.(newNode, decorations, innerDecorations);
Expand Down

0 comments on commit a90c8a8

Please sign in to comment.