Skip to content

Instantly share code, notes, and snippets.

@andrewsmedina
Created October 14, 2011 01:33
Show Gist options
  • Save andrewsmedina/1286029 to your computer and use it in GitHub Desktop.
Save andrewsmedina/1286029 to your computer and use it in GitHub Desktop.
TINYMCE_DEFAULT_CONFIG = {
'plugins': "imagelist,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,imagemanager",
'theme': "advanced",
'lang': 'pt-br',
'content_css' : "/media/_css/classes.css",
'theme_advanced_font_sizes': "10px,12px,13px,14px,16px,18px,20px",
'height': '400px',
'width': '720px',
'font_size_style_values': "10px,12px,13px,14px,16px,18px,20px",
'theme_advanced_toolbar_location': "top",
'theme_advanced_toolbar_align': "left",
'theme_advanced_path_location': "bottom",
'extended_valid_elements': "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style],iframe[src|width|height|name|align|frameborder]",
'theme_advanced_buttons1': "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,",
'theme_advanced_buttons2': "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,|,undo,redo",
'theme_advanced_buttons3': "link,unlink,anchor,image,cleanup,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
'theme_advanced_buttons4': "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup",
'theme_advanced_buttons5': "charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
'theme_advanced_buttons6': "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,insertimage,imagelist",
}
TINYMCE_FILEBROWSER = True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment