mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 08:55:08 +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:
@@ -169,6 +169,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
if ( mode == this.mode )
|
||||
return;
|
||||
|
||||
this.fire( 'beforeModeUnload' );
|
||||
|
||||
var currentMode = getMode( this );
|
||||
data = currentMode.getData();
|
||||
currentMode.unload( holderElement );
|
||||
@@ -211,7 +213,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
* @type String
|
||||
* @default 'wysiwyg'
|
||||
* @example
|
||||
* config.toolbarLocation = 'source';
|
||||
* config.startupMode = 'source';
|
||||
*/
|
||||
CKEDITOR.config.startupMode = 'wysiwyg';
|
||||
|
||||
@@ -219,7 +221,16 @@ CKEDITOR.config.startupMode = 'wysiwyg';
|
||||
* Sets whether the editor should have the focus when the page loads.
|
||||
* @type Boolean
|
||||
* @default false
|
||||
* @example
|
||||
* config.startupFocus = true;
|
||||
*/
|
||||
CKEDITOR.config.startupFocus = false;
|
||||
|
||||
/**
|
||||
* Whether to render or not the editing block area in the editor interface.
|
||||
* @type Boolean
|
||||
* @default true
|
||||
* @example
|
||||
* config.editingBlock = false;
|
||||
*/
|
||||
CKEDITOR.config.editingBlock = true;
|
||||
|
||||
Reference in New Issue
Block a user