MCPcopy Create free account
hub / github.com/editablejs/editable / onSelect

Function onSelect

apps/docs/src/configs/context-menu-items.tsx:24–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22 rightText: Hotkey.format('mod+x'),
23 disabled: isDisabled,
24 onSelect() {
25 editor.cut()
26 },
27 },
28 {
29 key: 'copy',

Callers 7

handleSelectFunction · 0.50
ContextMenuItemFunction · 0.50
handleSelectFunction · 0.50
handleSelectFunction · 0.50
triggerSelectFunction · 0.50
handleSelectFunction · 0.50
renderItemFunction · 0.50

Calls 4

cutMethod · 0.80
copyMethod · 0.80
insertFromClipboardMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…