# HG changeset patch # User Brian Neal # Date 1295125910 0 # Node ID 0231aad9e2116609b79b5aa6a2d54ccb79ab2634 # Parent 2e027f21f5ea630dee32637bee06ca64b7062a4e Fixing #123; removed the H1-H6 buttons from the markitup editor. diff -r 2e027f21f5ea -r 0231aad9e211 media/js/markitup/sets/markdown/set.js --- 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:'---------------' }, diff -r 2e027f21f5ea -r 0231aad9e211 media/js/markitup/sets/markdown/style.css --- 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); }