#2820: Forms plugin
-------------------------+--------------------------------------------------
 Reporter:  arczi        |       Owner:  arczi       
     Type:  New Feature  |      Status:  new         
 Priority:  Normal       |   Milestone:  CKEditor 3.0
Component:  General      |     Version:              
 Keywords:               |  
-------------------------+--------------------------------------------------
 Use of setup, commit, setupContent() and commitContent() in all dialogs in
 the Forms plugin

 Example:

 {{{
 validate: function()
 {
         var func = CKEDITOR.dialog.validate.integer(
 editor.lang.common.validateNumberFailed );
         return func.apply( this );
 },
 setup : function( element )
 {
         this.setValue( element.getAttribute( 'rows' ) );
 },
 commit : function( element )
 {
         element.setAttribute( 'rows', this.getValue() );
 }
 }}}

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2820>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to