var editorData = CKEDITOR.instances.editor1.getData();
For example. editor1 being the id of the element of which you replaced with a CKEditor instance using a call to CKEDITOR.replace(); when the CKEditor instance was instantiated.
I think there are examples of this in the _samples folder. Did you not look at the samples?
[EDIT] - Oh, wait,
cornel_gav wrote:no html tags
You'll need to filter the html tags out yourself using some of your own javascript regexps. CKEditor deals only with X/HTML and then shows you a representation of it so that What You See Is What You Get. CKEditor doesn't create or edit rich text. There isn't a rich text export plugin for CKEditor that I know about either. [/EDIT]
Re: Get text
Yes :
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#getData
Like this :
For example.
editor1 being the id of the element of which you replaced with a CKEditor instance using a call to CKEDITOR.replace(); when the CKEditor instance was instantiated.
You can also set the data in the editor too :
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#setData
I think there are examples of this in the _samples folder.
Did you not look at the samples?
[EDIT] - Oh, wait,
You'll need to filter the html tags out yourself using some of your own javascript regexps. CKEditor deals only with X/HTML and then shows you a representation of it so that What You See Is What You Get.
CKEditor doesn't create or edit rich text. There isn't a rich text export plugin for CKEditor that I know about either.
[/EDIT]
Thanks,
Zanpakutō