mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Add cut, copy, and paste to context menu
Summary: On supported browsers, the new context menu commands work exactly as they do via keyboard shortcuts. On unsupported browsers, an unavailable command modal is shown with a suggestion to use keyboard shortcuts instead. Test Plan: Browser tests. Reviewers: jarek Reviewed By: jarek Differential Revision: https://phab.getgrist.com/D3867
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import * as Clipboard from 'app/client/components/Clipboard';
|
||||
import * as commands from 'app/client/components/commands';
|
||||
import {copyToClipboard} from 'app/client/lib/copyToClipboard';
|
||||
import {copyToClipboard} from 'app/client/lib/clipboardUtils';
|
||||
import {FocusLayer} from 'app/client/lib/FocusLayer';
|
||||
import {makeT} from 'app/client/lib/localization';
|
||||
import {setTestState} from 'app/client/lib/testState';
|
||||
|
||||
Reference in New Issue
Block a user