jquery - markitup settings issue -


here settings in set.js. don't want h1 - h3 tags, images etc. deleted lines markitup text area appears not settings , shows following. using textile set basic simple skin.

also, there sprited version of images?

alt text

mysettings = {     previewparserpath:  '', // path textile parser     onshiftenter:       {keepdefault:false, replacewith:'\n\n'},     markupset: [         {name:'heading 4', key:'4', openwith:'h4(!(([![class]!]))!). ', placeholder:'your title here...' },         {name:'heading 5', key:'5', openwith:'h5(!(([![class]!]))!). ', placeholder:'your title here...' },         {name:'heading 6', key:'6', openwith:'h6(!(([![class]!]))!). ', placeholder:'your title here...' },         {name:'paragraph', key:'p', openwith:'p(!(([![class]!]))!). '},         {separator:'---------------' },         {name:'bold', key:'b', closewith:'*', openwith:'*'},         {name:'italic', key:'i', closewith:'_', openwith:'_'},         {name:'stroke through', key:'s', closewith:'-', openwith:'-'},         {separator:'---------------' },         {name:'bulleted list', openwith:'(!(* |!|*)!)'},         {name:'numeric list', openwith:'(!(# |!|#)!)'},          {separator:'---------------' },         {name:'link', openwith:'"', closewith:'([![title]!])":[![link:!:http://]!]', placeholder:'your text link here...' },         {separator:'---------------' },         {name:'quotes', openwith:'bq(!(([![class]!]))!). '}     ] } 

you have deleted buttons, image backgrounds remained. have edit css too:

/* ------------------------------------------------------------------- // markitup! // jay salvat - http://markitup.jaysalvat.com/ // ------------------------------------------------------------------*/  } .textile .markitupbutton1 {     background-image:url(images/h4.png);  } .textile .markitupbutton2 {     background-image:url(images/h5.png);  } .textile .markitupbutton3 {     background-image:url(images/h6.png);  } .textile .markitupbutton4 {     background-image:url(images/paragraph.png);  }  .textile .markitupbutton5 {     background-image:url(images/bold.png); } .textile .markitupbutton6 {     background-image:url(images/italic.png); } .textile .markitupbutton7 {     background-image:url(images/stroke.png); }  .textile .markitupbutton8 {     background-image:url(images/list-bullet.png); } .textile .markitupbutton9 {     background-image:url(images/list-numeric.png); }  .textile .markitupbutton10 {     background-image:url(images/link.png); }  .textile .markitupbutton11 {     background-image:url(images/quotes.png); } 

(original version: http://markitup.jaysalvat.com/examples/textile/ )

no sprited version afaik, can create 1 :-)


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -