X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_samples%2Fajax.html;h=0cd8ce8b68edd7778ea9ef35fd73cd4e1d0600c4;hp=931f58bcc501e1da7c875ed197c7b623e94dbfd5;hb=c6e377a02b54abc07129d72b632763c727476a15;hpb=941b0a9ba4e673e292510d80a5a86806994b8ea6 diff --git a/_samples/ajax.html b/_samples/ajax.html index 931f58b..0cd8ce8 100644 --- a/_samples/ajax.html +++ b/_samples/ajax.html @@ -29,12 +29,14 @@ function createEditor() // This sample may break here if the ckeditor_basic.js is used. In such case, the following code should be used instead: /* if ( editor.setData ) - editor.setData( html ); + editor.setData( html ); else - CKEDITOR.on( 'loaded', function() { - editor.setData( html ); - }); + CKEDITOR.on( 'loaded', function() + { + editor.setData( html ); + }); + } */ }