hi everyone,
im trying to load content in the editor with the CKEDITOR.ajax.load like this :
but the firefox error console says CKEDITOR.ajax does not exists
am i missing something?
thanks!
im trying to load content in the editor with the CKEDITOR.ajax.load like this :
window.onload = function() { var editor = CKEDITOR.replace( 'editor1' ); var data = CKEDITOR.ajax.load( '/content/1_1.inc.html' ); editor.setData(data); };
but the firefox error console says CKEDITOR.ajax does not exists
am i missing something?
thanks!
Re: loading content with CKEDITOR.ajax.load
nobody have a better idea?
Re: loading content with CKEDITOR.ajax.load
Actually, it appears that by default, the packed versions of ckeditor do not include the ajax libraries... so, you either have to do what you did (by including the _source/core/ajax.js file directly), or you can repack ckeditor.
Now you should have a ckeditor.js file that include the ajax cod as well...
Re: loading content with CKEDITOR.ajax.load
Best regards
Carsten
Re: loading content with CKEDITOR.ajax.load