2012-02-08 21:44
Dodajesz brakujące buttony oraz pluginy. Pluginy pobierasz ze strony, którą zapodał Rad. Następnie w kodzie pliku templates/admin/edit.tpl zmień ten fragment: tinyMCE.init({ theme : "advanced", mode : "exact", entity_encoding : "raw", elements : "sDescriptionShort,sDescriptionFull,sContent", //Teraz zmieniasz co nieco plugins : "autolink,lists,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups, insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,non breaking,xhtmlxtras,template", theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styl eselect,formatselect,fontselect,fontsizeselect", theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,li nk,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor", theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,ful lscreen", theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,spellchecker,|,cite,abbr,acronym,del,ins,attribs,|,visu alchars,nonbreaking,template,blockquote,pagebreak,|,insertfile,insertimage", //Koniec zmian theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", debug : false }); Zamieściłem wszystkie opcje ale warto dokonać selekcji. Część z nich jest nieprzydatna a niektóre mogą bardziej zaszkodzić niż pomóc.