0

我想在 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,

我想要 in 的“代码 theme_advanced_buttons2theme_advanced_buttons1。请帮忙。

4

1 回答 1

0

那这个呢:

theme_advanced_buttons1 : "bold,italic,underline,strikethrough,code",
theme_advanced_buttons2 : "",
于 2012-06-25T11:28:32.647 回答