changeset 304:0231aad9e211

Fixing #123; removed the H1-H6 buttons from the markitup editor.
author Brian Neal <bgneal@gmail.com>
date Sat, 15 Jan 2011 21:11:50 +0000
parents 2e027f21f5ea
children d502a997360e
files media/js/markitup/sets/markdown/set.js media/js/markitup/sets/markdown/style.css
diffstat 2 files changed, 7 insertions(+), 33 deletions(-) [+]
line wrap: on
line diff
--- a/media/js/markitup/sets/markdown/set.js	Sat Jan 15 20:48:42 2011 +0000
+++ b/media/js/markitup/sets/markdown/set.js	Sat Jan 15 21:11:50 2011 +0000
@@ -18,13 +18,6 @@
     previewPosition: 'after',
 	onShiftEnter:		{keepDefault:false, openWith:'\n\n'},
 	markupSet: [
-		{name:'First Level Heading', key:'1', placeHolder:'Your title here...', closeWith:function(markItUp) { return miu.markdownTitle(markItUp, '=') } },
-		{name:'Second Level Heading', key:'2', placeHolder:'Your title here...', closeWith:function(markItUp) { return miu.markdownTitle(markItUp, '-') } },
-		{name:'Heading 3', key:'3', openWith:'### ', placeHolder:'Your title here...' },
-		{name:'Heading 4', key:'4', openWith:'#### ', placeHolder:'Your title here...' },
-		{name:'Heading 5', key:'5', openWith:'##### ', placeHolder:'Your title here...' },
-		{name:'Heading 6', key:'6', openWith:'###### ', placeHolder:'Your title here...' },
-		{separator:'---------------' },		
 		{name:'Bold', key:'B', openWith:'**', closeWith:'**'},
 		{name:'Italic', key:'I', openWith:'_', closeWith:'_'},
 		{separator:'---------------' },
--- a/media/js/markitup/sets/markdown/style.css	Sat Jan 15 20:48:42 2011 +0000
+++ b/media/js/markitup/sets/markdown/style.css	Sat Jan 15 21:11:50 2011 +0000
@@ -3,49 +3,30 @@
 // By Jay Salvat - http://markitup.jaysalvat.com/
 // ------------------------------------------------------------------*/
 .markItUp .markItUpButton1 a {
-	background-image:url(images/h1.png); 
+	background-image:url(images/bold.png);
 }
 .markItUp .markItUpButton2 a {
-	background-image:url(images/h2.png); 
-}
-.markItUp .markItUpButton3 a {
-	background-image:url(images/h3.png); 
-}
-.markItUp .markItUpButton4 a {
-	background-image:url(images/h4.png); 
-}
-.markItUp .markItUpButton5 a {
-	background-image:url(images/h5.png); 
-}
-.markItUp .markItUpButton6 a {
-	background-image:url(images/h6.png); 
-}
-
-.markItUp .markItUpButton7 a {
-	background-image:url(images/bold.png);
-}
-.markItUp .markItUpButton8 a {
 	background-image:url(images/italic.png);
 }
 
-.markItUp .markItUpButton9 a {
+.markItUp .markItUpButton3 a {
 	background-image:url(images/list-bullet.png);
 }
-.markItUp .markItUpButton10 a {
+.markItUp .markItUpButton4 a {
 	background-image:url(images/list-numeric.png);
 }
 
-.markItUp .markItUpButton11 a {
+.markItUp .markItUpButton5 a {
 	background-image:url(images/picture.png); 
 }
-.markItUp .markItUpButton12 a {
+.markItUp .markItUpButton6 a {
 	background-image:url(images/link.png);
 }
 
-.markItUp .markItUpButton13 a	{
+.markItUp .markItUpButton7 a	{
 	background-image:url(images/quotes.png);
 }
-.markItUp .markItUpButton14 a	{
+.markItUp .markItUpButton8 a	{
 	background-image:url(images/code.png);
 }