:::

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';

};

:::

搜尋

QR Code 區塊

https%3A%2F%2Ftad0616.cp22.secserverpros.com%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D612%26tbsn%3D22

書籍目錄

展開 | 闔起

線上使用者

371人線上 (159人在瀏覽線上書籍)

會員: 0

訪客: 371

更多…