I am using CKEditor in my project.I wanted to know what happens when we submit the text entered(on click of a submit button).Wanted to know if the text entered gets posted as HTML or just plain text when we submit?
Thanks, Shilpa
...have you tried???
it submits as HTML
ckeditor() converts a textarea to an RTE (rich text editor). when you submit the form that the textarea is contained in (using a normal <input type="submit"/> button), the original textarea is updated with the HTML, and the form is submitted. I think the conversion is delayed, so querying the value of the textarea itself will not give you the HTML. if you want to know the value of the CKEditor HTML, you need to use something like .getData(). Anotehr similar question is answered here: stackoverflow.com/questions/2440680/…