From 1698174ac2b07ec14017feef1eb05ae19f91ab7d Mon Sep 17 00:00:00 2001 From: Ward Cunningham Date: Sun, 6 Aug 2017 08:30:00 -0700 Subject: [PATCH] prevent default for alt-s --- lib/editor.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/editor.coffee b/lib/editor.coffee index ebc5cb71..2c8429f5 100644 --- a/lib/editor.coffee +++ b/lib/editor.coffee @@ -32,6 +32,7 @@ textEditor = ($item, item, option={}) -> keydownHandler = (e) -> if (e.altKey || e.ctlKey || e.metaKey) and e.which == 83 #alt-s + e.preventDefault() $textarea.focusout() return false