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 a888362 commit f117bbaCopy full SHA for f117bba
core/shortcut_items.ts
@@ -108,7 +108,7 @@ let copyCoords: Coordinate | null = null;
108
function isCopyable(focused: IFocusableNode): boolean {
109
if (!isICopyable(focused) || !isIDeletable(focused) || !isDraggable(focused))
110
return false;
111
- if (focused.isCopyable !== undefined) {
+ if (focused.isCopyable) {
112
return focused.isCopyable();
113
} else if (
114
focused instanceof BlockSvg ||
0 commit comments