0
我正在使用Tinymce 3.4.2,只要我添加了一些插件到Tinymce,默認的Html源代碼編輯器就消失了。如何將Html源代碼編輯器添加到Tinymce 3.x?如何將Html編輯器源添加到Tinymce 3.x
這裏是我使用
var tinymce_advanced_options = {
mode : "textareas",
theme : "advanced",
// ===========================================
// INCLUDE the PLUGIN
// ===========================================
plugins : "openmanager, spellchecker, autolink,lists,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, autoresize",
//FILE UPLOAD MODS
file_browser_callback: "openmanager",
open_manager_upload_path: 'uploads/',
// ===========================================
// Set LANGUAGE to EN (Otherwise, you have to use plugin's translation file)
// ===========================================
language : "en",
// ===========================================
// Put PLUGIN'S BUTTON on the toolbar
// ===========================================
theme_advanced_buttons1 : "save, |, spellchecker, |, bold, italic, underline, strikethrough, |, justifyleft, justifycenter, justifyright, justifyfull, cut, copy, paste, pastetext, pasteword",
theme_advanced_buttons2 : "preview, styleselect, formatselect, fontselect, fontsizeselect",
theme_advanced_buttons3 : "openmanager, |, image, |, media, |, bullist,numlist,|, outdent,indent, blockquote, |,undo,redo,|, link,unlink,anchor",
theme_advanced_buttons4 : "forecolor,backcolor, |, sub,sup,|, styleprops, |, cite, abbr, acronym, del, ins, |, search, replace, |, codeinsertdate,inserttime",
theme_advanced_buttons5 : "tablecontrols,|,hr,removeformat,visualaid",
theme_advanced_buttons6 : "insertlayer, moveforward, movebackward, absolute, |, attribs, |, visualchars, nonbreaking, template, pagebreak, restoredraft, cleanup, charmap,emotions, advhr, help",
theme_advanced_buttons7 : "iespell, print,|,ltr,rtl,|, fullscreen",
theme_advanced_layout_manager : "SimpleLayout",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
// ===========================================
// Set RELATIVE_URLS to FALSE (This is required for images to display properly)
// ===========================================
//Only if i do not want to use relative url
//relative_urls : false
};
有人至少可以解釋爲什麼向下票呢?如果沒有人能回答,爲什麼投票呢? –