Skip to content
Permalink
Browse files

Add documentation for CKEDITOR.config#on.

  • Loading branch information...
Reinmar committed Sep 7, 2012
1 parent 54fa7f7 commit 2a1dfd1b814ef1dfa4db41ef2e55ddfa29215313
Showing with 22 additions and 0 deletions.
  1. +22 −0 core/editor.js
@@ -974,6 +974,28 @@ CKEDITOR.ELEMENT_MODE_INLINE = 3;
* @member CKEDITOR.config
*/

/**
* Sets listeners on editor's events.
*
* **Note:** This property can be set only in `config` object passed directly
* to the {@link CKEDITOR#replace}, {@link CKEDITOR#inline} and other creators.
*
* CKEDITOR.replace( 'editor1', {
* on: {
* instanceReady: function() {
* alert( this.name ); // 'editor1'
* },
*
* key: function() {
* // ...
* }
* }
* } );
*
* @cfg {Object} on
* @member CKEDITOR.config
*/

/**
* The outer most element in the DOM tree in which the editable element resides, it's provided
* by the concrete editor creator after editor UI is created and is not subjected to

0 comments on commit 2a1dfd1

Please sign in to comment.
You can’t perform that action at this time.