From 839da24f4b3cac4385301dcffb7e03a7fe1c2ab3 Mon Sep 17 00:00:00 2001 From: Maxime Dantec Date: Fri, 20 Sep 2013 14:53:31 +0200 Subject: [PATCH] Fix --- src/js/medium.editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/medium.editor.js b/src/js/medium.editor.js index 0a9165538..dc9b007df 100644 --- a/src/js/medium.editor.js +++ b/src/js/medium.editor.js @@ -354,7 +354,7 @@ function MediumEditor(selector, options) { }; input.onkeyup = function (e) { - if (e.keyCode === 13) { + if (e.keyCode === 13 && !e.shiftKey) { e.preventDefault(); self.createLink(this); }