Permalink
Browse files

added H4-H6 heading support

  • Loading branch information...
1 parent ddea7ec commit 1fe5b0a60fee0ca0939f29e76e691e2890d13910 @shaunfreeman shaunfreeman committed Mar 24, 2013
Showing with 15 additions and 2 deletions.
  1. +2 −1 .gitignore
  2. +3 −0 .settings/.gitignore
  3. +10 −1 src/bootstrap-wysihtml5.js
View
@@ -1,2 +1,3 @@
.DS_Store
-.c9revisions
+.c9revisions
+/*.project
@@ -0,0 +1,3 @@
+/*.jsdtscope
+/*.eclipse.wst.jsdt.ui.superType.container
+/*.eclipse.wst.jsdt.ui.superType.name
@@ -13,6 +13,9 @@
"<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h1' tabindex='-1'>" + locale.font_styles.h1 + "</a></li>" +
"<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h2' tabindex='-1'>" + locale.font_styles.h2 + "</a></li>" +
"<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h3' tabindex='-1'>" + locale.font_styles.h3 + "</a></li>" +
+ "<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h4'>" + locale.font_styles.h4 + "</a></li>" +
+ "<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h5'>" + locale.font_styles.h5 + "</a></li>" +
+ "<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h6'>" + locale.font_styles.h6 + "</a></li>" +
"</ul>" +
"</li>";
},
@@ -416,6 +419,9 @@
"h1": {},
"h2": {},
"h3": {},
+ "h4": {},
+ "h5": {},
+ "h6": {},
"blockquote": {},
"u": 1,
"img": {
@@ -456,7 +462,10 @@
normal: "Normal text",
h1: "Heading 1",
h2: "Heading 2",
- h3: "Heading 3"
+ h3: "Heading 3",
+ h4: "Heading 4",
+ h5: "Heading 5",
+ h6: "Heading 6"
},
emphasis: {
bold: "Bold",

0 comments on commit 1fe5b0a

Please sign in to comment.