From 80d2dbe10ee3f7971e6886e27118f2b0217e3288 Mon Sep 17 00:00:00 2001 From: Evan Morikawa Date: Fri, 30 Sep 2016 19:35:39 -0500 Subject: [PATCH] fix(composer): can shift-tab more places Allow shift-tab to go back to subject from anywhere except in front of a tab character --- src/components/contenteditable/tab-manager.coffee | 2 +- src/pro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/contenteditable/tab-manager.coffee b/src/components/contenteditable/tab-manager.coffee index a5e87bdc5..3f84b4aa5 100644 --- a/src/components/contenteditable/tab-manager.coffee +++ b/src/components/contenteditable/tab-manager.coffee @@ -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") diff --git a/src/pro b/src/pro index ec987d404..e6976e8b8 160000 --- a/src/pro +++ b/src/pro @@ -1 +1 @@ -Subproject commit ec987d404aa18f8aaf5980c6b1a08dcf1e83dd71 +Subproject commit e6976e8b8501aa13eb17a3e881d3ece886aac2a5