好用的線上編輯器,由於fckeditor改成ckeditor之後就不支援上傳功能,
因此使用ckfinder配合這個功能,這類套件最好隨時注意更新
下載放至同樣目錄底下後,需要更改的檔案:
ckeditor: config.js [JAVASCRIPT] CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. For example: // config.language = 'fr'; // config.uiColor = '#AADC6E'; CKEDITOR.editorConfig = function(config) { config.toolbar = 'TadToolbar'; config.toolbar_TadToolbar = [ ['Source','-','Templates','-','Cut','Copy','Paste','PasteText','PasteFromWord'], ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], ['Link','Unlink','Anchor'], ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'], '/', ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'], ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], ['Format','FontSize','-','TextColor','BGColor'] ]; }; config.filebrowserBrowseUrl = 'ckfinder/ckfinder.html'; config.filebrowserImageBrowseUrl = 'ckfinder/ckfinder.html?Type=Images'; // config.filebrowserFlashBrowseUrl = 'ckfinder/ckfinder.html?Type=Flash'; config.filebrowserUploadUrl = 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files'; config.filebrowserImageUploadUrl = 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images'; // config.filebrowserFlashUploadUrl = 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash'; }; [/JAVASCRIPT] ckfinder: config.asp [ASP] baseUrl = "ckfinder/upload/" baseDir = server.MapPath(baseUrl) & "" Images.Add "component", "None" [/ASP] ckfinder.html [HTML] 改語系 [/HTML] 刪除不必要的檔案: _samples _source CHANGES.html INSTALL.html LICENSE.html lang: 除了_languages.js, en.js, zh.js,其他可以刪除 help:說明檔案,保留files和要用到的語系 Upgrade: http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Installation#Upgrade