Hi Fahman,
Please check the link I sent, it shows you how get and set the content of editor. If you get problem with these API, please show me the details.
Regards,
Ken