Changeset 5165


Ignore:
Timestamp:
02/21/2010 12:15:53 AM (5 years ago)
Author:
fredck
Message:

Updated the ajax sample with the recent changes to setData.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/_samples/ajax.html

    r5144 r5165  
    2929        // Create a new editor inside the <div id="editor">
    3030        editor = CKEDITOR.appendTo( 'editor' );
    31         editor.setData( html, null, true );
     31        editor.setData( html );
    3232
    3333        // This sample may break here if the ckeditor_basic.js is used. In such case, the following code should be used instead:
    3434        /*
    3535        if ( editor.setData )
    36                 editor.setData( html, null, true );
     36                editor.setData( html );
    3737        else
    3838        {
    3939                CKEDITOR.on( 'loaded', function()
    4040                        {
    41                                 editor.setData( html, null, true );
     41                                editor.setData( html );
    4242                        });
    4343        }
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy