All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.m.pageactions.ckeditor-custom.config.js Maven / Gradle / Ivy

CKEDITOR.editorConfig = function(config) {
    var toolbar = [
        { name: 'document', groups: [ 'mode', 'document', 'doctools' ], items: [ 'Source', 'Templates', 'document' ] },
        { name: 'clipboard',groups: [ 'clipboard', 'undo' ], items: [ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', 'Undo', 'Redo' ] },
        { name: 'editing',     groups: [ 'find', 'selection', 'spellchecker' ], items: [ 'Find', 'Replace', 'SelectAll', 'Scayt' ] },
        { name: 'insert', items: [ 'CreatePlaceholder', 'Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe', 'InsertPre' ] },
        { name: 'links', items: [ 'Link', 'Unlink', 'Anchor' ] },
        { name: 'tools', items: [ 'UIColor', 'Maximize', 'ShowBlocks' ] },
        /*{ name: 'forms', items: [ 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField' ] },*/
        '/',
        { name: 'styles', items: [ 'Styles', 'Format', 'Font', 'FontSize' ] },
        { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ], items: [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', 'RemoveFormat' ] },
        { name: 'paragraph',   groups: [ 'list', 'indent', 'blocks', 'align' ], items: [ 'NumberedList', 'BulletedList', 'Outdent', 'Indent', 'Blockquote', 'CreateDiv', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', 'BidiLtr', 'BidiRtl' ] },
        { name: 'colors', items: [ 'TextColor', 'BGColor' ] },
        { name: 'about', items: [ 'About' ] }

    ];
    /*for(var x in config.toolbar_Full) {
        var y = config.toolbar_Full[x];
        if('document' == y.name) {
            toolbar.push({name:'document',items:['Source','-','Templates']});
        } else {
            toolbar.push(y);
        }
    }*/

    config.toolbar_PortofinoDefault = toolbar;
    config.toolbar = 'PortofinoDefault';
};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy