comparison media/js/markitup/sets/markdown/set.js @ 305:d502a997360e

Fixing #110; Removed the prompts for alt text & titles from img and link buttons in the markitup editor. This was confusing users.
author Brian Neal <bgneal@gmail.com>
date Sat, 15 Jan 2011 21:29:00 +0000
parents 0231aad9e211
children
comparison
equal deleted inserted replaced
304:0231aad9e211 305:d502a997360e
24 {name:'Bulleted List', openWith:'- ' }, 24 {name:'Bulleted List', openWith:'- ' },
25 {name:'Numeric List', openWith:function(markItUp) { 25 {name:'Numeric List', openWith:function(markItUp) {
26 return markItUp.line+'. '; 26 return markItUp.line+'. ';
27 }}, 27 }},
28 {separator:'---------------' }, 28 {separator:'---------------' },
29 {name:'Picture', key:'P', replaceWith:'![[![Alternative text]!]]([![Url:!:http://]!] "[![Title]!]")'}, 29 {name:'Picture', key:'P', replaceWith:'![image]([![Url:!:http://]!])'},
30 {name:'Link', key:'L', openWith:'[', closeWith:']([![Url:!:http://]!] "[![Title]!]")', placeHolder:'Your text to link here...' }, 30 {name:'Link', key:'L', openWith:'[', closeWith:']([![Url:!:http://]!])', placeHolder:'Your text to link here...' },
31 {separator:'---------------'}, 31 {separator:'---------------'},
32 {name:'Quotes', openWith:'> '}, 32 {name:'Quotes', openWith:'> '},
33 {name:'Code Block / Code', openWith:'(!(\t|!|`)!)', closeWith:'(!(`)!)'}, 33 {name:'Code Block / Code', openWith:'(!(\t|!|`)!)', closeWith:'(!(`)!)'},
34 {separator:'---------------'}, 34 {separator:'---------------'},
35 {name:'Smilies', className:'smilies', dropMenu: [ 35 {name:'Smilies', className:'smilies', dropMenu: [