Ticket #5099: 5099.patch

File 5099.patch, 1.0 KB (added by Garry Yao, 10 years ago)
  • _source/plugins/smiley/plugin.js

     
    99
    1010        init : function( editor )
    1111        {
     12                editor.config.smiley_path = editor.config.smiley_path || ( this.path + 'images/' );
    1213                editor.addCommand( 'smiley', new CKEDITOR.dialogCommand( 'smiley' ) );
    1314                editor.ui.addButton( 'Smiley',
    1415                        {
     
    2223/**
    2324 * The base path used to build the URL for the smiley images. It must end with
    2425 * a slash.
     26 * @name CKEDITOR.config.smiley_path
    2527 * @type String
    2628 * @default {@link CKEDITOR.basePath} + 'plugins/smiley/images/'
    2729 * @example
     
    2931 * @example
    3032 * config.smiley_path = '/images/smileys/';
    3133 */
    32 CKEDITOR.config.smiley_path = CKEDITOR.basePath +
    33         '_source/' +            // @Packager.RemoveLine
    34         'plugins/smiley/images/';
    3534
    3635/**
    3736 * The file names for the smileys to be displayed. These files must be
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy