mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-12-27 03:58:22 +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
376158c9b9
commit
5ea9d110cb
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue