// ----------------------------------------------------------------------------
// 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 = {
	previewInWindow: 'width=800, height=600, resizable=yes, scrollbars=yes', 
	previewParserPath:	'~/templates/preview.php', // path to your BBCode parser
	markupSet: [
		{name:'F', key:'F', openWith:'[F]', closeWith:'[/F]', className: 'b'},
		{name:'K', key:'K', openWith:'[K]', closeWith:'[/K]', className: 'i'},
		{name:'U', key:'U', openWith:'[U]', closeWith:'[/U]', className: '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:'Formatierung entfernen', className:"clean", replaceWith:function(markitup) { return markitup.selection.replace(/\[(.*?)\]/g, "") } },
		{name:'Vorschau', className:"preview", call:'preview' }
	]
}
