XYZ File Manager
Current Path:
/var/www/wordpress/wp-content/plugins/code-snippets/js/types
var
/
www
/
wordpress
/
wp-content
/
plugins
/
code-snippets
/
js
/
types
/
📁
..
📄
KeyboardShortcut.ts
(1.17 KB)
📄
ScreenNotice.ts
(57 B)
📄
SelectOption.ts
(379 B)
📄
Shortcodes.ts
(197 B)
📄
Snippet.ts
(932 B)
📄
Window.ts
(1.41 KB)
📄
WordPressCodeEditor.ts
(748 B)
📄
WordPressEditor.ts
(612 B)
📁
schema
Editing: KeyboardShortcut.ts
import { _x } from '@wordpress/i18n' export const KEYBOARD_KEYS = <const> { 'Cmd': _x('Cmd', 'keyboard key', 'code-snippets'), 'Ctrl': _x('Ctrl', 'keyboard key', 'code-snippets'), 'Shift': _x('Shift', 'keyboard key', 'code-snippets'), 'Option': _x('Option', 'keyboard key', 'code-snippets'), 'Alt': _x('Alt', 'keyboard key', 'code-snippets'), 'Tab': _x('Tab', 'keyboard key', 'code-snippets'), 'Up': _x('Up', 'keyboard key', 'code-snippets'), 'Down': _x('Down', 'keyboard key', 'code-snippets'), 'A': _x('A', 'keyboard key', 'code-snippets'), 'D': _x('D', 'keyboard key', 'code-snippets'), 'F': _x('F', 'keyboard key', 'code-snippets'), 'G': _x('G', 'keyboard key', 'code-snippets'), 'R': _x('R', 'keyboard key', 'code-snippets'), 'S': _x('S', 'keyboard key', 'code-snippets'), 'Y': _x('Y', 'keyboard key', 'code-snippets'), 'Z': _x('Z', 'keyboard key', 'code-snippets'), '/': _x('/', 'keyboard key', 'code-snippets'), '[': _x(']', 'keyboard key', 'code-snippets'), ']': _x(']', 'keyboard key', 'code-snippets') } export type KeyboardKey = keyof typeof KEYBOARD_KEYS export interface KeyboardShortcut { label: string mod: KeyboardKey | KeyboardKey[] key: KeyboardKey }
Upload File
Create Folder