// ----------------------------------------------------------------------------
// markItUp!
// ----------------------------------------------------------------------------
// Copyright (C) 2008 Jay Salvat
// http://markitup.jaysalvat.com/
// ----------------------------------------------------------------------------
// BBCode tags example
// http://en.wikipedia.org/wiki/Bbcode
// ----------------------------------------------------------------------------
// Feel free to add more tags
// ----------------------------------------------------------------------------
mySettings = {
	previewParserPath:	'', // path to your BBCode parser
	markupSet: [
		{name:'Bold', key:'B', openWith:'[b]', closeWith:'[/b]'},
		{name:'Italic', key:'I', openWith:'[i]', closeWith:'[/i]'},
		{name:'Underline', key:'U', openWith:'[u]', closeWith:'[/u]'},
		{separator:'---------------' },
		{name:'Picture', key:'P', replaceWith:'[img][![Url]!][/img]'},
		{name:'Link', key:'L', openWith:'[url=[![Url]!]]', closeWith:'[/url]', placeHolder:'Your text to link here...'},
		{separator:'---------------' },
		{name:'Size', key:'S', openWith:'[size=[![Text size]!]]', closeWith:'[/size]',
		dropMenu :[
			{name:'Big', openWith:'[size=200]', closeWith:'[/size]' },
			{name:'Normal', openWith:'[size=100]', closeWith:'[/size]' },
			{name:'Small', openWith:'[size=50]', closeWith:'[/size]' }
		]},
		{separator:'---------------' },
		{name:'Bulleted list', openWith:'[list]\n', closeWith:'\n[/list]'},
		/*{name:'Numeric list', openWith:'[list=[![Starting number]!]]\n', closeWith:'\n[/list]'}, */
		{name:'List item', openWith:'[*] '},
		{separator:'---------------' },
		{name:'Quotes', openWith:'[quote]', closeWith:'[/quote]'},
		{name:'Code', openWith:'[code]', closeWith:'[/code]'}, 
		/*{separator:'---------------' },
		{name:'Clean', className:"clean", replaceWith:function(markitup) { return markitup.selection.replace(/\[(.*?)\]/g, "") } },*/
		{separator:'---------------' },
		{	name:'Smilies', 
			className:'smilies', 
			openWith:'', 
			closeWith:'', 
				dropMenu: [
					{name:'smile',	openWith:' :) ', 	closeWith:'', className:"col1-1" },
					{name:'grin',	openWith:' :D ', 	closeWith:'', className:"col1-2" },
					{name:'confused',	openWith:' :? ', 	closeWith:'', className:"col1-3" },
					{name:'shock',	openWith:' : shock : ', 	closeWith:'', className:"col1-4" },
					{name:'eek',	openWith:' :o ', 	closeWith:'', className:"col1-5" },
					{name:'cry',	openWith:' : cry : ', 	closeWith:'', className:"col2-1" },
					{name:'evil',	openWith:' : evil : ', 	closeWith:'', className:"col2-2" },
					{name:'mad',	openWith:' :x ', 	closeWith:'', className:"col2-3" },
					{name:'oops',	openWith:' : oops : ', 	closeWith:'', className:"col2-4" },
					{name:'sad',	openWith:' :( ', 	closeWith:'', className:"col2-5" },
					{name:'wink',	openWith:' ;) ', 	closeWith:'', className:"col3-1" },
					{name:'cool',	openWith:' : cool : ', 	closeWith:'', className:"col3-2" }
				]
		}
//		,{name:'Preview', className:"preview", call:'preview' }
	]
}
