mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-22 08:16:09 +08:00
fix(composer): can shift-tab more places
Allow shift-tab to go back to subject from anywhere except in front of a tab character
This commit is contained in:
parent
8e3b436ba3
commit
80d2dbe10e
|
@ -18,7 +18,7 @@ class TabManager extends ContenteditableExtension
|
|||
if event.shiftKey
|
||||
if DOMUtils.isAtTabChar(selection)
|
||||
@_removeLastCharacter(editor)
|
||||
else if DOMUtils.isAtBeginningOfDocument(editor.rootNode, selection)
|
||||
else
|
||||
return # Don't stop propagation
|
||||
else
|
||||
editor.insertText("\t")
|
||||
|
|
2
src/pro
2
src/pro
|
@ -1 +1 @@
|
|||
Subproject commit ec987d404aa18f8aaf5980c6b1a08dcf1e83dd71
|
||||
Subproject commit e6976e8b8501aa13eb17a3e881d3ece886aac2a5
|
Loading…
Reference in a new issue