mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 17:05:10 +00:00
Imported CKEDITOR 3.0
Monotone-Parent: 5f9c08dd6b5b34d815ddb2108abbf4055e846934 Monotone-Revision: b2cf7eda0ef8f15fb6e78f8c38a7406a47bcdd2f Monotone-Author: crobert@inverse.ca Monotone-Date: 2009-08-26T14:03:12 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -7,7 +7,7 @@ CKEDITOR.dialog.add( 'smiley', function( editor )
|
||||
{
|
||||
var config = editor.config,
|
||||
images = config.smiley_images,
|
||||
columns = config.smiley_columns,
|
||||
columns = 8,
|
||||
i;
|
||||
|
||||
/**
|
||||
|
||||
@@ -19,13 +19,56 @@ CKEDITOR.plugins.add( 'smiley',
|
||||
}
|
||||
} );
|
||||
|
||||
CKEDITOR.config.smiley_path = CKEDITOR.basePath + '_source/plugins/smiley/images/';
|
||||
/**
|
||||
* The base path used to build the URL for the smiley images. It must end with
|
||||
* a slash.
|
||||
* @type String
|
||||
* @default {@link CKEDITOR.basePath} + 'plugins/smiley/images/'
|
||||
* @example
|
||||
* config.smiley_path = 'http://www.example.com/images/smileys/';
|
||||
* @example
|
||||
* config.smiley_path = '/images/smileys/';
|
||||
*/
|
||||
CKEDITOR.config.smiley_path = CKEDITOR.basePath +
|
||||
'plugins/smiley/images/';
|
||||
|
||||
CKEDITOR.config.smiley_images = [ 'regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif',
|
||||
/**
|
||||
* The file names for the smileys to be displayed. These files must be
|
||||
* contained inside the URL path defined with the
|
||||
* {@link CKEDITOR.config.smiley_path} setting.
|
||||
* @type Array
|
||||
* @default (see example)
|
||||
* @example
|
||||
* // This is actually the default value.
|
||||
* config.smiley_images = [
|
||||
* 'regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif',
|
||||
* 'embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif',
|
||||
* 'devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif',
|
||||
* 'broken_heart.gif','kiss.gif','envelope.gif'];
|
||||
*/
|
||||
CKEDITOR.config.smiley_images = [
|
||||
'regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif',
|
||||
'embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif',
|
||||
'devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif',
|
||||
'broken_heart.gif','kiss.gif','envelope.gif'];
|
||||
|
||||
CKEDITOR.config.smiley_descriptions = [ ':)', ':(', ';)', ':D', ':/', ':P', '', '', '', '', '', '', '', ';(', '', '', '', '', ':kiss', '' ];
|
||||
|
||||
CKEDITOR.config.smiley_columns = 8;
|
||||
/**
|
||||
* The description to be used for each of the smileys defined in the
|
||||
* {@link CKEDITOR.config.smiley_images} setting. Each entry in this array list
|
||||
* must match its relative pair in the {@link CKEDITOR.config.smiley_images}
|
||||
* setting.
|
||||
* @type Array
|
||||
* @default (see example)
|
||||
* @example
|
||||
* // This is actually the default value.
|
||||
* config.smiley_descriptions = [
|
||||
* ':)', ':(', ';)', ':D', ':/', ':P',
|
||||
* '', '', '', '', '', '',
|
||||
* '', ';(', '', '', '', '',
|
||||
* '', ':kiss', '' ];
|
||||
*/
|
||||
CKEDITOR.config.smiley_descriptions = [
|
||||
':)', ':(', ';)', ':D', ':/', ':P',
|
||||
'', '', '', '', '', '',
|
||||
'', ';(', '', '', '', '',
|
||||
'', ':kiss', '' ];
|
||||
|
||||
Reference in New Issue
Block a user