mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-08 20:09:44 +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:
@@ -106,6 +106,12 @@ CKEDITOR.tools.extend( CKEDITOR.editor.prototype,
|
||||
{
|
||||
add : function( item )
|
||||
{
|
||||
// Later we may sort the items, but Array#sort is not stable in
|
||||
// some browsers, here we're forcing the original sequence with
|
||||
// 'order' attribute if it hasn't been assigned. (#3868)
|
||||
if ( !item.order )
|
||||
item.order = this.items.length;
|
||||
|
||||
this.items.push( item );
|
||||
},
|
||||
|
||||
@@ -342,7 +348,27 @@ CKEDITOR.menuItem = CKEDITOR.tools.createClass(
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* The amount of time, in milliseconds, the editor waits before showing submenu
|
||||
* options when moving the mouse over options that contains submenus, like the
|
||||
* "Cell Properties" entry for tables.
|
||||
* @type Number
|
||||
* @default 400
|
||||
* @example
|
||||
* // Remove the submenu delay.
|
||||
* config.menu_subMenuDelay = 0;
|
||||
*/
|
||||
CKEDITOR.config.menu_subMenuDelay = 400;
|
||||
|
||||
/**
|
||||
* A comma separated list of items group names to be displayed in the context
|
||||
* menu. The items order will reflect the order in this list if no priority
|
||||
* has been definted in the groups.
|
||||
* @type String
|
||||
* @default 'clipboard,form,tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash,checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea'
|
||||
* @example
|
||||
* config.menu_groups = 'clipboard,table,anchor,link,image';
|
||||
*/
|
||||
CKEDITOR.config.menu_groups =
|
||||
'clipboard,' +
|
||||
'form,' +
|
||||
|
||||
Reference in New Issue
Block a user