tinymce.init({
    selector: "textarea.jakeditor",
    theme: "modern",
    width: "99%",
    height: 300,
    language: jakCMS.jakcms_lang,
    plugins: [
         "advlist autolink link image lists charmap preview hr anchor pagebreak",
         "searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking",
         "save table contextmenu directionality emoticons paste textcolor responsivefilemanager"
   ],
   toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image | preview media fullpage | forecolor backcolor emoticons", 
    statusbar: false,
    image_advtab: true,
    relative_urls : false,
    remove_script_host : true,
    document_base_url : "/",
    valid_elements: "*[*]",
    external_filemanager_path:"js/editor/plugins/filemanager/",
    filemanager_title:"Filemanager",
    external_plugins: { "filemanager" : "plugins/filemanager/plugin.min.js"}
 });