Example config CKEditor 3.x

CKEDITOR.editorConfig = function( config ) {
        config.toolbar_Mini =
        [
            ['Bold','Italic','Link','Unlink','Image']
        ];
    
        config.toolbar_Basic =
        [
            ['Bold','Italic','NumberedList','BulletedList','Link','Unlink','Image','Flash','Maximize','Format']
        ];
    
        config.toolbar_Default =
        [
            ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Scayt'],
            ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
            ['Image'],
            '/',
            ['Format'],
            ['Bold','Italic','Strike'],
            ['NumberedList','BulletedList'],
            ['Link','Unlink'],
            ['Maximize','-','About']
        ];
        
        config.skin = 'office2003';
        config.contentsCss = '/infoglueDeliverWorking/ViewPage.action?siteNodeId=65';
       config.filebrowserImageBrowseUrl = '$request.contextPath/ViewContentVersion!viewAssetBrowserForFCKEditorV3.action?repositoryId=$!request.getParameter("repositoryId")&contentId=$!request.getParameter("contentId")&languageId=$!request.getParameter("languageId")&assetTypeFilter=*';
       config.filebrowserImageUploadUrl = '$request.contextPath/CreateDigitalAsset.action?contentVersionId=$!contentVersionId&useFckUploadMessages=true';
        config.filebrowserUploadUrl = '$request.contextPath/CreateDigitalAsset.action?contentVersionId=$!contentVersionId&useFckUploadMessages=true';
};

 

StylesXML

<?xml version="1.0" encoding="utf-8" ?><Styles>
    <Style name="Blockcitat" element="Blockquote"/>
    <Style name="Image portrait left" element="img">
        <Attribute name="class" value="img_left_portrait" />
    </Style>
    <Style name="Image left letter" element="img">
        <Attribute name="class" value="img_left_letter" />
    </Style>
    <Style name="Image right letter" element="img">
        <Attribute name="class" value="img_right_letter" />
    </Style>
    <Style name="Image right portrait" element="img">
        <Attribute name="class" value="img_right_portrait" />
    </Style>
    <Style name="Full width" element="img">
        <Attribute name="class" value="img_scaled" />
    </Style>
</Styles>


As stated these are just examples of configurations we have used. Read more on CKEditor homepage about configuration options.