Content of markitup/sets/interaction/set.js
// ---------------------------------------------------------------------------- // markItUp! // ---------------------------------------------------------------------------- // Copyright (C) 2008 Jay Salvat // http://markitup.jaysalvat.com/ // ---------------------------------------------------------------------------- myInteractionSettings = { nameSpace: "interaction", // Useful to prevent multi-instances CSS conflict markupSet: [ {name:'Bold', key:'B', openWith:'<strong>', closeWith:'</strong>' }, {name:'Italic', key:'I', openWith:'<em>', closeWith:'</em>' }, {name:'Stroke through', key:'S', openWith:'<del>', closeWith:'</del>' }, {separator:'---------------' }, {name:'Pictures', className:'pictures', beforeInsert:function() { $('<iframe src="library/"></iframe>').modal(); } }, {name:'Colors', className:'colors', beforeInsert:function() { $("#colorPlugin").toggle().css("zIndex", 11); $("#linkPlugin").css("zIndex", 10); } }, {name:'Library', className:'library', beforeInsert:function() { $("#linkPlugin").toggle().css("zIndex", 11); $("#colorPlugin").css("zIndex", 10); } }, {separator:'---------------' }, {name:'Preview', className:'preview', call:'preview' } ] }