// ----------------------------------------------------------------------------
// markItUp!
// ----------------------------------------------------------------------------
// Copyright (C) 2008 Jay Salvat
// http://markitup.jaysalvat.com/
// ----------------------------------------------------------------------------
myBbcodeSettings = {
  nameSpace:          "bbcode", // Useful to prevent multi-instances CSS conflict
  //previewParserPath:  "~/sets/bbcode/preview.php",
  markupSet: [
      {name:'Жирный', key:'B', openWith:'[b]', closeWith:'[/b]'},
      {name:'Курсив', key:'I', openWith:'[i]', closeWith:'[/i]'},
      {name:'Подчёркнутый', key:'U', openWith:'[u]', closeWith:'[/u]'},
      //{separator:'---------------' },
      //{name:'Picture', key:'P', replaceWith:'[img][![Url]!][/img]'},
      {name:'Ссылка', key:'L', openWith:'[url=[![Ссылка]!]]', closeWith:'[/url]', placeHolder:'Текст на ссылку...'},
      //{separator:'---------------' },
      /*{name:'Цвет', openWith:'[color=[![Цвет]!]]', closeWith:'[/color]', dropMenu: [
          {name:'Жёлтый', openWith:'[color=yellow]', closeWith:'[/color]', className:"col1-1" },
          {name:'Орнажевый', openWith:'[color=orange]', closeWith:'[/color]', className:"col1-2" },
          {name:'Красный', openWith:'[color=red]', closeWith:'[/color]', className:"col1-3" },
          {name:'Голубой', openWith:'[color=blue]', closeWith:'[/color]', className:"col2-1" },
          {name:'Пурпурный', openWith:'[color=purple]', closeWith:'[/color]', className:"col2-2" },
          {name:'Зеленый', openWith:'[color=green]', closeWith:'[/color]', className:"col2-3" },
          {name:'Белый', openWith:'[color=white]', closeWith:'[/color]', className:"col3-1" },
          {name:'Серый', openWith:'[color=gray]', closeWith:'[/color]', className:"col3-2" },
          {name:'Чёрный', openWith:'[color=black]', closeWith:'[/color]', className:"col3-3" }
      ]},
      {name:'Размер', key:'S', openWith:'[size=[![Text size]!]]', closeWith:'[/size]', dropMenu :[
          {name:'Большой', openWith:'[size=200]', closeWith:'[/size]' },
          {name:'Нормальный', openWith:'[size=100]', closeWith:'[/size]' },
          {name:'Маленький', 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:'Цитата', openWith:'[quote]', closeWith:'[/quote]'},
      //{name:'Code', openWith:'[code]', closeWith:'[/code]'},
      //{separator:'---------------' },
      //{name:'Clean', className:"clean", replaceWith:function(h) { return h.selection.replace(/\[(.*?)\]/g, "") } },
      //{name:'Preview', className:"preview", call:'preview' }
   ]
}
