X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Fsmiley%2Fplugin.js;h=d8a9fbf703edc7606134624468c095f644309d36;hp=780136dbde6aeb37b6dc35d30b0014d6a0b5aee4;hb=059b4c2fef02528bf1af189f7996e80652faddfb;hpb=c6e377a02b54abc07129d72b632763c727476a15 diff --git a/_source/plugins/smiley/plugin.js b/_source/plugins/smiley/plugin.js index 780136d..d8a9fbf 100644 --- a/_source/plugins/smiley/plugin.js +++ b/_source/plugins/smiley/plugin.js @@ -59,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' + ];