X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fsmiley%2Fplugin.js;h=d8a9fbf703edc7606134624468c095f644309d36;hb=refs%2Ftags%2Fv3.2;hp=ae2523f0ea6d4dada1b74fd58dd3157230a4a195;hpb=ea7e3453c7b0f023b050aca6d9f83ab372860d91;p=ckeditor.git diff --git a/_source/plugins/smiley/plugin.js b/_source/plugins/smiley/plugin.js index ae2523f..d8a9fbf 100644 --- a/_source/plugins/smiley/plugin.js +++ b/_source/plugins/smiley/plugin.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -30,6 +30,7 @@ CKEDITOR.plugins.add( 'smiley', * config.smiley_path = '/images/smileys/'; */ CKEDITOR.config.smiley_path = CKEDITOR.basePath + + '_source/' + // @Packager.RemoveLine 'plugins/smiley/images/'; /** @@ -58,17 +59,27 @@ CKEDITOR.config.smiley_images = [ * must match its relative pair in the {@link CKEDITOR.config.smiley_images} * setting. * @type Array - * @default (see example) + * @default The textual descriptions of smiley. * @example - * // This is actually the default value. - * config.smiley_descriptions = [ - * ':)', ':(', ';)', ':D', ':/', ':P', - * '', '', '', '', '', '', - * '', ';(', '', '', '', '', - * '', ':kiss', '' ]; + * // Default settings. + * config.smiley_descriptions = + * [ + * 'smiley', 'sad', 'wink', 'laugh', 'frown', 'cheeky', 'blush', 'surprise', + * 'indecision', 'angry', 'angle', 'cool', 'devil', 'crying', 'enlightened', 'no', + * 'yes', 'heart', 'broken heart', 'kiss', 'mail' + * ]; + * @example + * // Use textual emoticons as description. + * config.smiley_descriptions = + * [ + * ':)', ':(', ';)', ':D', ':/', ':P', ':*)', ':-o', + * ':|', '>:(', 'o:)', '8-)', '>:-)', ';(', '', '', '', + * '', '', ':-*', '' + * ]; */ -CKEDITOR.config.smiley_descriptions = [ - ':)', ':(', ';)', ':D', ':/', ':P', - '', '', '', '', '', '', - '', ';(', '', '', '', '', - '', ':kiss', '' ]; +CKEDITOR.config.smiley_descriptions = + [ + 'smiley', 'sad', 'wink', 'laugh', 'frown', 'cheeky', 'blush', 'surprise', + 'indecision', 'angry', 'angle', 'cool', 'devil', 'crying', 'enlightened', 'no', + 'yes', 'heart', 'broken heart', 'kiss', 'mail' + ];