21 | | //auto_resize : true, |
| 21 | content_css : "/appmedia/blog/style.css", |
| 22 | theme_advanced_toolbar_location : "top", |
| 23 | theme_advanced_toolbar_align : "left", |
| 24 | theme_advanced_buttons1 : "fullscreen,separator,preview,separator,bold,italic,underline,strikethrough,separator,bullist,numlist,outdent,indent,separator,undo,redo,separator,link,unlink,anchor,separator,image,cleanup,help,separator,code", |
| 25 | theme_advanced_buttons2 : "", |
| 26 | theme_advanced_buttons3 : "", |
22 | 27 | auto_cleanup_word : true, |
23 | 28 | plugins : "table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,flash,searchreplace,print,contextmenu,fullscreen", |
24 | | theme_advanced_buttons1_add_before : "save,separator", |
25 | | theme_advanced_buttons1_add : "fontselect,fontsizeselect", |
26 | | theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,zoom,separator,forecolor,backcolor", |
27 | | theme_advanced_buttons2_add_before: "cut,copy,paste,separator,search,replace,separator", |
28 | | theme_advanced_buttons3_add_before : "tablecontrols,separator", |
29 | | theme_advanced_buttons3_add : "fullscreen,emotions,iespell,flash,advhr,separator,print", |
30 | | theme_advanced_toolbar_location : "top", |
31 | | theme_advanced_toolbar_align : "left", |
32 | | theme_advanced_path_location : "bottom", |
37 | | theme_advanced_path_location : "top" |
| 33 | theme_advanced_path_location : "top", |
| 34 | theme_advanced_buttons1 : "fullscreen,separator,preview,separator,cut,copy,paste,separator,undo,redo,separator,search,replace,separator,code,separator,cleanup,separator,bold,italic,underline,strikethrough,separator,forecolor,backcolor,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,help", |
| 35 | theme_advanced_buttons2 : "removeformat,styleselect,formatselect,fontselect,fontsizeselect,separator,bullist,numlist,outdent,indent,separator,link,unlink,anchor", |
| 36 | theme_advanced_buttons3 : "sub,sup,separator,image,insertdate,inserttime,separator,tablecontrols,separator,hr,advhr,visualaid,separator,charmap,emotions,iespell,flash,separator,print" |
64 | | Notes: |
65 | | |
66 | | * TinyMCE toolbars will occupy almost all area of textarea. I don't mind, because when I want to edit text, I use full screen mode. It's a button on toolbar looking like a monitor. |
67 | | * If you want to make more room for editing, you can do two things: |
68 | | * Make textareas bigger: use CSS. See [http://www.djangoproject.com/documentation/admin_css/ Customizing the Django admin interface] for details. Hint: textareas have ids. |
69 | | * Use [http://tinymce.moxiecode.com/tinymce/docs/option_auto_resize.html experimental auto-resize mode]. I don't use it now because it produced annoying flickering. |
70 | | * Toolbars flicker when you move cursor (backspace, left/right arrows, and so on). Strange but useable. |
71 | | * I wish I could have specify different set of tools for inline and full screen modes. It may be possible, but I didn't research it yet. |
72 | | |