113
rated 0 times
[
120]
[
7]
/ answers: 1 / hits: 66524
/ 15 Years ago, sun, march 14, 2010, 12:00:00
I'm using CKEditor in my web app, and I'm at a loss as to how to get the contents of the editor with HTML formatting.
var objEditor = CKEDITOR.instances[sectionTextArea];
var q = objEditor.getData();
This will get me the text entered in CKEditor, without any markup.
However,
var q = objEditor.getHTML();
will return a null value. What am I doing wrong?
More From » html