From 2c5b5b5aaa1d2a67637bb26bc821c61f1f904f95 Mon Sep 17 00:00:00 2001 From: Jean-Tiare Le Bigot Date: Sun, 4 Mar 2012 00:51:03 +0100 Subject: [PATCH] disabled tab key for headings as it does not make any sense --- static/js/ace2_inner.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/js/ace2_inner.js b/static/js/ace2_inner.js index 722a36cbd..7b47bbab9 100644 --- a/static/js/ace2_inner.js +++ b/static/js/ace2_inner.js @@ -3424,6 +3424,8 @@ function Ace2Inner(){ if (listType) { t = listType[1]; + if(t=="title") + continue;//hackish but prevent tab from working on headings level = Number(listType[2]); } }