1 (edited by 2012-09-22 10:31:21)

Topic: Cutenews ut-f 8 9.1

Hello,

which file include the ckeditor https://cutephp.com/forum/style_emoticons/default/questionmark.gif

i want change editor`s toolbar

 //<![CDATA[
    (function()
    {
        var settings = {
            customConfig: '',
            entities: false,
            entities_latin: false,
            entities_greek: false,
            toolbar: [
                    ['Source','Scayt','-','Copy','Paste','PasteText','PasteFromWord','Cut'],
                    ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
                    ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar'],
                    ['Link','Unlink','Anchor'],
                    '/',
                    ['Format','FontSize','TextColor','BGColor'],
                    ['Bold','Italic','Strike'],
                    ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
                    ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
                    ['Maximize','About']
            ],
            filebrowserBrowseUrl: '?&mod=images&action=quick&wysiwyg=cke',
            filebrowserImageBrowseUrl: '?&mod=images&action=quick&wysiwyg=cke',
            smiley_path: 'http://cantinemobile.ch/cutenews/data/emoticons/',
smiley_images: ['smile.gif', 'wink.gif', 'wassat.gif', 'tongue.gif', 'laughing.gif', 'sad.gif', 'angry.gif', 'crying.gif', ],
        smiley_descriptions: ['smile', 'wink', 'wassat', 'tongue', 'laughing', 'sad', 'angry', 'crying', ]
        };
        CKEDITOR.replace ('short_story', settings);
        CKEDITOR.replace ('full_story', settings);
    })();
    //]]>

John



CuteNews ut-f8 
9.1

Re: Cutenews ut-f 8 9.1

I have tried the following(....cutenews/rte/ckeditor/config.js):

CKEDITOR.editorConfig = function( config )
{
    // Define changes to default configuration here. For example:
    config.language = 'de';
    config.uiColor = '#AADC6E';
    config.toolbar= "Basic";
};


without success!

Please Help!

Re: Cutenews ut-f 8 9.1

Hello filou83,

thanks for help!!

https://cutephp.com/forum/style_emoticons/default/biggrin.gif