mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 04:25:31 +08:00
c03a63b9ea
Summary: Participants now collapse Gmail style in the composer field. New, more declarative system for how we deal with "focusedFields" on the composer. Extracted a `CollapsedParticipants` and `ExpandedParticipants` component. Test Plan: TODO Reviewers: dillon, bengotow Reviewed By: bengotow Differential Revision: https://phab.nylas.com/D2013
31 lines
1.1 KiB
Text
31 lines
1.1 KiB
Text
'.composer-outer-wrap, .composer-outer-wrap input, .composer-outer-wrap
|
|
div[contenteditable]':
|
|
'cmd-B' : 'composer:show-and-focus-bcc'
|
|
'cmd-C' : 'composer:show-and-focus-cc'
|
|
'ctrl-B' : 'composer:show-and-focus-bcc'
|
|
'ctrl-C' : 'composer:show-and-focus-cc'
|
|
'cmd-T' : 'composer:focus-to'
|
|
'ctrl-T' : 'composer:focus-to'
|
|
'cmd-enter' : 'composer:send-message'
|
|
'ctrl-enter' : 'composer:send-message'
|
|
|
|
'.composer-outer-wrap':
|
|
'delete' : 'composer:no-op'
|
|
|
|
'.composer-outer-wrap, .composer-outer-wrap div[contenteditable]':
|
|
'escape' : 'composer:delete-empty-draft'
|
|
|
|
'body.platform-win32 .composer-outer-wrap *[contenteditable], body.platform-win32 .composer-outer-wrap input':
|
|
'ctrl-z': 'composer:undo'
|
|
'ctrl-Z': 'composer:redo'
|
|
'ctrl-y': 'composer:redo'
|
|
|
|
'body.platform-linux .composer-outer-wrap *[contenteditable], body.platform-linux .composer-outer-wrap input':
|
|
'ctrl-z': 'composer:undo'
|
|
'ctrl-Z': 'composer:redo'
|
|
'ctrl-y': 'composer:redo'
|
|
|
|
'body.platform-darwin .composer-outer-wrap *[contenteditable], body.platform-darwin .composer-outer-wrap input':
|
|
'cmd-z': 'composer:undo'
|
|
'cmd-Z': 'composer:redo'
|
|
'cmd-y': 'composer:redo'
|