changeset 4420:5ccf04ad9941

GUI editor: fix heading levels when inserting new headings (thanks to PrebenR)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 08 Nov 2008 14:43:49 +0100
parents d85005213fd9
children f414aece63e0
files wiki/htdocs/applets/moinFCKplugins/moinformat/fckplugin.js
diffstat 1 files changed, 8 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/wiki/htdocs/applets/moinFCKplugins/moinformat/fckplugin.js	Sat Nov 08 14:18:04 2008 +0100
+++ b/wiki/htdocs/applets/moinFCKplugins/moinformat/fckplugin.js	Sat Nov 08 14:43:49 2008 +0100
@@ -36,13 +36,14 @@
   // Get the format names from the language file.
   var aNames = FCKLang['FontFormats'].split(';');
   var oNames = {
-    p  : aNames[0],
-    pre  : aNames[1],
-    h2  : aNames[3], // h2 as Title 1
-    h3  : aNames[4], // and so on
-    h4  : aNames[5],
-    h5  : aNames[6],
-    h6  : aNames[7]
+    p   : aNames[0],
+    pre : aNames[1],
+    h1  : aNames[3], // h1 as Title 1, aNames[2] is address
+    h2  : aNames[4], // and so on
+    h3  : aNames[5], 
+    h4  : aNames[6],
+    h5  : aNames[7],
+    h6  : aNames[8]
   };
 
   // Get the available formats from the configuration file.