| 44 | |
| 45 | (8/18/2010 - note: Use tinymce [http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/media "media" plugin] instead, also add "media" to the buttons. Then your '''textareas.js''' could be: |
| 46 | |
| 47 | {{{ |
| 48 | tinyMCE.init({ |
| 49 | mode : "textareas", |
| 50 | theme : "advanced", |
| 51 | //content_css : "/appmedia/blog/style.css", |
| 52 | theme_advanced_toolbar_location : "top", |
| 53 | theme_advanced_toolbar_align : "left", |
| 54 | 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,media,cleanup,help,separator,code", |
| 55 | theme_advanced_buttons2 : "", |
| 56 | theme_advanced_buttons3 : "", |
| 57 | auto_cleanup_word : true, |
| 58 | plugins : "table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,searchreplace,print,contextmenu,fullscreen,media", |
| 59 | plugin_insertdate_dateFormat : "%m/%d/%Y", |
| 60 | plugin_insertdate_timeFormat : "%H:%M:%S", |
| 61 | extended_valid_elements : "a[name|href|target=_blank|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]", |
| 62 | fullscreen_settings : { |
| 63 | theme_advanced_path_location : "top", |
| 64 | theme_advanced_buttons1 : "fullscreen,separator,preview,separator,media,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", |
| 65 | theme_advanced_buttons2 : "removeformat,styleselect,formatselect,fontselect,fontsizeselect,separator,bullist,numlist,outdent,indent,separator,link,unlink,anchor", |
| 66 | theme_advanced_buttons3 : "sub,sup,separator,image,insertdate,inserttime,separator,tablecontrols,separator,hr,advhr,visualaid,separator,charmap,emotions,iespell,flash,separator,print" |
| 67 | } |
| 68 | }); |
| 69 | |
| 70 | }}} |
| 71 | |
| 72 | |