Adding emoticons to the CKEditor

Helena Grulichova asked on July 23, 2012 02:45

Adding emoticons to the CKEditor

Correct Answer

Helena Grulichova answered on July 23, 2012 02:45

You can add emoticons to the CKEditor by editing the file ~\CMSAdminControls\CKeditor\config.js (Kentico CMS 6.x), and adding the value 'Smiley' to the toolbar you wish to display the emoticons.  Please see the example below:

   config.toolbar_Full = config.toolbar_Default =
    [
        ['Source', '-'],
        ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', 'SpellChecker', 'Scayt', '-'],
        ['Undo', 'Redo', 'Find', 'Replace', 'RemoveFormat', '-'],
        ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-'],
        ['NumberedList', 'BulletedList', 'Outdent', 'Indent', 'Blockquote', 'CreateDiv', '-'],
        ['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-'],
        ['InsertLink', 'Unlink', 'Anchor', '-'],
        ['InsertImageOrMedia', 'QuicklyInsertImage', 'Table', 'HorizontalRule', 'SpecialChar', 'Smiley', '-'],
        ['InsertForms', 'InsertInlineControls', 'InsertPolls', 'InsertRating', 'InsertYouTubeVideo', 'InsertWidget'],
        '/',
        ['Styles', 'Format', 'Font', 'FontSize'],
        ['TextColor', 'BGColor', '-'],
        ['Maximize', 'ShowBlocks']
    ];


-eh-
0 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.