I am preparing a script. I am using AJAX(load()) with jQuery.
I am getting a page which includes textarea with ckeditor by load() jQuery AJAX function.
Although I include ckeditor’s.js file, loaded page doesn’t includes javascript file and shows a normal textarea without ckeditor.
How can I load file which includes textarea with ckeditor?
After creating the textarea with
load(), you have to callCKEDITOR.replace()on any textareas which you have created, in order to initialize the editor… Are you doing this?If you are loading multiple textareas, and you want all the textareas in the document to become CKEDITORs, then you do: