Anonymous     Python     05 Sep 2011    
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
TINYMCE_DEFAULT_CONFIG = {
'plugins': "paste,fullscreen",
'theme': "advanced",
'custom_undo_redo_levels': 20,
'theme_advanced_toolbar_location': 'top',
'theme_advanced_toolbar_align': 'left',
'theme_advanced_statusbar_location': "bottom",
'plugins': "autolink,lists,spellchecker,style,table,advimage,advlink,iespell,inlinepopups,media,searchreplace,contextmenu,paste,fullscreen,noneditable,xhtmlxtras",
'theme_advanced_buttons1': "bold,italic,underline,strikethrough,sub,sup|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect",
'theme_advanced_buttons2': "cut,copy,paste,pastetext,pasteword,cleanup,|,search,replace,|,bullist,numlist,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,|,forecolor,backcolor",
'theme_advanced_buttons3': "tablecontrols,|,removeformat,visualaid,|,charmap,iespell,media,styleprops,spellchecker,|,fullscreen,code,help",
'theme_advanced_buttons4': '',
#'theme_advanced_buttons1' : 'bold,italic,underline,strikethrough'
#',sub,sup,|,justifyleft,justifycenter,justifyright,justifyfull'
#',|,formatselect,separator,bullist,numlist,cut,copy,paste'
#',undo,redo,link,unlink,image,code,removeformat'
#',charmap,anchor,blockquote,fullscreen',
#'theme_advanced_buttons2' : '',
#'theme_advanced_buttons3' : '',
'width': '60%',
'height': '300px',
}