tinyMCE.init({
                         
    language : "cs",
    entity_encoding : "raw",
    entities : "60,lt,62,gt,160,nbsp,38,amp",
    mode : "exact",
    elements : "editor",
    theme : "advanced",
    convert_fonts_to_spans : "true",
    remove_script_host : "false",
    plugins : "safari,table,advlink,advimage,searchreplace,contextmenu,paste,fullscreen,visualchars,nonbreaking,media,xhtmlxtras,paste,iespell,preview,fullscreen,inlinepopups,smsymbol,smeditimage,smlinebreak, youtube",
    
    paste_create_paragraphs : true,
    paste_create_linebreaks : false,
    paste_convert_middot_lists : true,
    paste_use_dialog : false,
    paste_auto_cleanup_on_paste : true,
    paste_convert_headers_to_strong : false,
    paste_strip_class_attributes : "all",
    paste_remove_spans : true,
    paste_remove_styles : true,
    
    cleanup : true,
    
    verify_html : true,
    relative_urls : false,
    document_base_url : "",
    
    theme_advanced_blockformats : "p,h2,h3,h4,div",

    custom_undo_redo : false,
    width: 800,
    height: 450,
   
    // Theme options
    theme_advanced_disable : "", 
         
    theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,formatselect,fontselect,fontsizeselect,|,forecolor,backcolor",
    theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,youtube,cleanup,code,|,insertdate,inserttime,preview",
    theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr",
    theme_advanced_buttons4 : "cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak",
    theme_advanced_toolbar_location : "top",
    theme_advanced_toolbar_align : "left",
    theme_advanced_statusbar_location : "bottom",
    theme_advanced_resizing : true,
    theme_advanced_resize_horizontal : false,    
    theme_advanced_path_location : "bottom",
    theme_advanced_path : true,
       
    tab_focus : ':prev,:next',
    
    plugin_insertdate_dateFormat : "%Y-%m-%d",
    plugin_insertdate_timeFormat : "%H:%M:%S",
       
    nonbreaking_force_tab : true,
    
    apply_source_formatting : true,
    
    fix_table_elements : true,
    fix_list_elements : true,
    
    file_browser_callback : "tinyBrowser"
    
});
