8-1
                        上課範例:class/ckeditor/config.js
                    
                
                                
CKEDITOR.editorConfig = function( config )
{
    config.toolbar = 'MyToolbar';
    config.toolbar_MyToolbar =
    [
       { name: 'clipboard', items : [ 'Undo','Redo' ] },
        { name: 'insert', items : [ 'Image' , 'Flash' , 'Table' , 'HorizontalRule' , 'Smiley' , 'PageBreak' ] },
        { name: 'basicstyles', items : [ 'Bold' , 'Italic' , 'Strike' , 'RemoveFormat' ] },
        { name: 'paragraph', items : [ 'NumberedList' , 'BulletedList' , 'Outdent' , 'Indent'] },
        { name: 'links', items : [ 'Link' , 'Unlink' ] },
        { name: 'styles', items : [ 'Styles' , 'Format' ] },
        { name: 'tools', items : [ 'Font' , 'FontSize' ] },
        { name: 'colors', items : [ 'TextColor','BGColor' ] }
    ];
    
    var kcpath='/~tad0616/modules/tad_note/class/ckeditor/kcfinder';
    config.filebrowserBrowseUrl = kcpath + '/browse.php?type=files';
    config.filebrowserImageBrowseUrl = kcpath + '/browse.php?type=images';
    config.filebrowserFlashBrowseUrl = kcpath + '/browse.php?type=flash';
    config.filebrowserUploadUrl = kcpath + '/upload.php?type=files';
    config.filebrowserImageUploadUrl = kcpath + '/upload.php?type=images';
    config.filebrowserFlashUploadUrl = kcpath + '/upload.php?type=flash';
};