0
A
回答
1
這將TinyMCE的編輯器(參見模式)替換所有文字區域。
<script type="text/javascript" src="js/tiny_mce.js"></script>
<script type="text/javascript">
tinyMCE.init({
mode : "textareas",
theme : "advanced",
plugins : "imagemanager,safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,wordcount,simplebrowser",
theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,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,|,fullscreen",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
// Example content CSS (should be your site CSS)
content_css : "../css/custom.css",
});
相關問題
- 1. 在bash或python中合併兩個或兩個以上的csv?
- 2. 兩個或多個人可以同時編輯Excel文檔嗎?
- 3. 在Firefox中的兩個tinymce編輯器問題
- 4. 兩個或兩個以上的斜線 - mod_rewrite的
- 5. 一個QWebEnginePage兩個或兩個以上QWebEngineView
- 6. 合併兩個或兩個以上的行SQL Server 2000中
- 7. 正則表達式兩個或兩個以上的空格
- 8. 如何通過兩個或兩個以上的強制性subcondtions
- 9. 兩個或兩個以上功能的事件管理
- 10. 如何從兩個或兩個以上的datagridview值C#
- 11. ON DELETE CASCADE - 兩個或兩個以上的外鍵需要
- 12. 選擇不具有兩個或兩個以上的名字
- 13. 同步兩個或兩個以上的AVAudioPlayer播放Iphone
- 14. 兩個或兩個以上的數據類型
- 15. 聯合兩個或兩個以上的JSON文件
- 16. HTML5兩個或兩個以上的進口
- 17. 在Vue.js 2.0中過濾兩個或兩個以上的列表
- 18. 編輯兩個XML文件
- 19. 從兩個表Gridview編輯
- 20. 水銀:「撤銷」兩個或兩個以上承諾
- 21. 查找具有兩個或兩個以上關係
- 22. LINQ對兩個或兩個以上條件加入
- 23. 查詢從兩個或兩個以上部門
- 24. 兩個Bootstrap模式可以編輯兩個不同的文件內容
- 25. 是否有可能爲兩個Textareas擁有一個TinyMCE編輯器欄?
- 26. TinyMCE - 我如何在同一頁面上有兩個編輯器,只有一個預覽按鈕適用於兩個編輯器
- 27. 一個的recv得到兩個或兩個以上的蟒蛇插座
- 28. 在一項活動中可以有兩個或兩個以上的意圖?
- 29. 如何同時顯示兩個或多個編輯器?
- 30. 兩個或兩個以上副本集中的一個MongoDB實例