// ----------------------------------------------------------------------------
// markItUp!
// ----------------------------------------------------------------------------
// Copyright (C) 2008 Jay Salvat
// http://markitup.jaysalvat.com/
// ----------------------------------------------------------------------------
// Html tags
// http://en.wikipedia.org/wiki/html
// ----------------------------------------------------------------------------
// Basic set. Feel free to add more tags
// ----------------------------------------------------------------------------
mySettings = {	
	onShiftEnter:  	{keepDefault:false, replaceWith:'<br />\n'},
	onCtrlEnter:  	{keepDefault:false, openWith:'\n<p>', closeWith:'</p>'},
	onTab:    		{keepDefault:false, replaceWith:'    '},
	markupSet:  [ 	
		{name:'Pogrubione', openWith:'<b>', closeWith:'</b>'},
		{name:'Pochylone', openWith:'<i>', closeWith:'</i>'},
		{name:'Podkreslone', openWith:'<u>', closeWith:'</u>'},
		{separator:'---------------' },
        {name:'Lista punktowa', openWith:'<ul>', closeWith:'</ul>' },
        {name:'Lista liczbowa', openWith:'<ol>', closeWith:'</ol>' },
        {name:'Element listy', openWith:'<li>', closeWith:'</li>' },
		{separator:'---------------' },
		{name:'Obraz', replaceWith:'<img src="[![Source:!:http://]!]" alt="[![Alternative text]!]" />' },
		{name:'Odnosnik do strony', openWith:'<a href="[![Odnosnik do strony:!:http://]!]"(!( title="[![Title]!]")!)>', closeWith:'</a>', placeHolder:'Wpisz tekst dla podanego odnosnika...' },
		{name:'Odnosnik do maila', openWith:'<a href="[![Adres e-mail:!:mailto:]!]"(!( title="[![Title]!]")!)>', closeWith:'</a>', placeHolder:'Wpisz adres e-mail...' },
	]
}

mySettingsUser = {	
	onShiftEnter:  	{keepDefault:false, replaceWith:'[br /]\n'},
	onCtrlEnter:  	{keepDefault:false, openWith:'\n[p]', closeWith:'[/p]'},
	onTab:    		{keepDefault:false, replaceWith:'    '},
	markupSet:  [ 	
		{name:'Pogrubione', openWith:'[b]', closeWith:'[/b]'},
		{name:'Pochylone', openWith:'[i]', closeWith:'[/i]'},
		{name:'Podkreslone', openWith:'[u]', closeWith:'[/u]'},
		{separator:'---------------' },
        {name:'Lista punktowa', openWith:'[ul]', closeWith:'[/ul]' },
        {name:'Lista liczbowa', openWith:'[ol]', closeWith:'[/ol]' },
        {name:'Element listy', openWith:'[li]', closeWith:'[/li]' },	
	]
}
