says, I am possible
By: admin
25 Mar 2011While writing an selinium test I came across an problem while adding text to the ckEditor instance thorugh the test. And after a long search and research I got the below solution.
Command works is runscript() :
Usage : runscript(script);
Example :
runScript(CKEDITOR.instances["edit-body"].setData('<p>testContent</p>'); );
where "edit-body", is the instance name of the loaded ckdeditor.
Hope this helps someone. :)
Recent comments
17 weeks 3 days ago
18 weeks 3 days ago
18 weeks 3 days ago
20 weeks 3 days ago
26 weeks 3 days ago
27 weeks 6 hours ago
28 weeks 6 days ago
34 weeks 3 days ago
34 weeks 3 days ago
34 weeks 6 days ago