Javascript 如何在tinymce的第一段中添加html链接

Javascript 如何在tinymce的第一段中添加html链接,javascript,tinymce,Javascript,Tinymce,我想在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,prin

我想在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,
我想要
主题高级按钮1
中的
主题高级按钮2
的“代码”。请帮忙。

这个怎么样:

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 : "bold,italic,underline,strikethrough,code",
theme_advanced_buttons2 : "",