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:
C Robert
2009-08-26 14:03:12 +00:00
parent 4d1a003124
commit 0ce87017d6
329 changed files with 5266 additions and 3451 deletions
@@ -99,7 +99,14 @@ CKEDITOR.ui.button.prototype =
// Get the command name.
var command = this.command;
if ( command )
if ( this.modes )
{
editor.on( 'mode', function()
{
this.setState( this.modes[ editor.mode ] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED );
}, this);
}
else if ( command )
{
// Get the command instance.
command = editor.getCommand( command );
@@ -130,7 +137,6 @@ CKEDITOR.ui.button.prototype =
' class="', classes, '" href="javascript:void(\'', ( this.title || '' ).replace( "'", '' ), '\')"' +
' title="', this.title, '"' +
' tabindex="-1"' +
' role="button"' +
' hidefocus="true"' );
// Some browsers don't cancel key events in the keydown but in the