2012-06-25 33 views
0

我想在TinyMCE的第一段添加HTML鏈接並禁用所有段落。我該如何解決它?請幫忙。如何在tinymce的第一段中添加html鏈接

mode : "exact", 
elements:"home_textarea", 
theme : "advanced", 
plugins : "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,advlist,autosave", 
gecko_spellcheck : true, 

// Theme options 
theme_advanced_buttons1 : "bold,italic,underline,strikethrough", 
theme_advanced_buttons2 : "code", 
theme_advanced_buttons3 : "", 
theme_advanced_buttons4 : "", 
theme_advanced_toolbar_location : "top", 
theme_advanced_toolbar_align : "left", 
theme_advanced_statusbar_location : "bottom", 
theme_advanced_resizing : true, 

我想在theme_advanced_buttons1中的theme_advanced_buttons2 '代碼'。請幫忙。

回答

0

這個怎麼樣:

theme_advanced_buttons1 : "bold,italic,underline,strikethrough,code", 
theme_advanced_buttons2 : "", 
相關問題