From 77149d29614160ef6b6d7c364769edcd7fcf64dd Mon Sep 17 00:00:00 2001 From: gitusp Date: Fri, 2 Oct 2020 16:32:27 +0900 Subject: [PATCH] Move to the beginning of the line before editing when opening a row --- content_scripts/sheet_actions.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content_scripts/sheet_actions.js b/content_scripts/sheet_actions.js index 2ca3a48..4a1ba5b 100644 --- a/content_scripts/sheet_actions.js +++ b/content_scripts/sheet_actions.js @@ -265,11 +265,13 @@ SheetActions = { // Creates a row below and begins editing it. openRowBelow() { this.clickMenu(this.menuItems.rowBelow); + UI.typeKey(KeyboardUtils.keyCodes.home); UI.typeKey(KeyboardUtils.keyCodes.enter); }, openRowAbove() { this.clickMenu(this.menuItems.rowAbove); + UI.typeKey(KeyboardUtils.keyCodes.home); UI.typeKey(KeyboardUtils.keyCodes.enter); },