Before I can read some of the English, but there is always no global view, so that I have always had some doubts about the use of TINYMCE: That is why I added in the TINYMCE initialization, such as font, font size and other settings buttons, but why in front
There is no way to reality, the original error is that I did not set the element in the toolbar or in the menu bar settings in the properties of the display, simply throw the setting to Tinymce.init (), not in the toolbar or menubar add
Add in.
My TINYMCE settings
Tinymce.init ({selector: "TEXTAREA#ELM1", Language: "Zh_cn", width:600, height:300, plugins: ["advlist autolink link ima GE lists Charmap print preview hr anchor PageBreak spellchecker "," Searchreplace wordcount visualblocks visualchars Code FU Llscreen insertdatetime Media nonbreaking "," Save table ContextMenu directionality Emoticons template paste TextColor "], t OOLBAR1: "InsertFile undo Redo | Styleselect | Bold Italic | AlignLeft aligncenter alignright alignjustify | Bullist numlist outdent Indent | Link Image | Print Preview Media fullpage | ForeColor BackColor Emoticons | Fontsizeselect | Fontselect ", Style_formats: [{title: ' Bold text ', inline: ' B '},{title: ' Red text ', inline: ' span ', styles: {color: ' #ff000 0 '}},{title: ' Red header ', Block: ' H1 ', styles: {color: ' #ff0000 '}},{title: ' Example 1 ', inline: ' span ', classes: ' Example 1 '},{title: ' Example 2 ', inline: ' span ', classes: ' Example2 '},{title: ' Table Styles '},{title: ' table row 1 ', selector: ' TR ', classes: ' Tablerow1 '}], FontsizE_formats: "8px 10px 12px 14px 18px 24px 36px", Font_formats: "Song body = song body;" + "Microsoft Jas Black =microsoft Yahei;" + "blackbody = blackbody;" + "imitation = imitation;" + " italics = italics; "+" script = official script; "+" Young circle = Young circle; "+" ARIAL=ARIAL,HELVETICA,SANS-SERIF; "+" Comic sans ms=comic sans ms,sans-serif; "+" Courier New=courier new,courier; "+" TAHOMA=TAHOMA,ARIAL,HELVETICA,SANS-SERIF; "+" Times new roman=times new Roman,times; "+" Ver Dana=verdana,geneva; "+" webdings=webdings; "+" Wingdings=wingdings,zapf Dingbats "});
Demo Download: Http://files.cnblogs.com/files/xxjudfc/demo.rar
Reference notes
Thank you: http://bbs.csdn.net/topics/390845082 give me the hint
Some notes about the TINYMCE