If you look at the examples you will see how this is done. Basically there are two ways to invoke CK: In a textarea of a form, or in a div with the 'contenteditable=true' property. To get the data, for the textarea you simply retrieve the contents; for the editable div you need to use CKEDITOR.instances.editable.getData(); where 'editable' is the id of your editable div.
This of course only gives you edited data; user authentication and sending data to the server are your own responsibility. In fact, these involve far, far more donkey-work than getting the editor working.
CKEditor is released under the GPL or Mozilla licenses. Put simply, you can freely redistribute a derivative work but you cannot place restrictions on it as regards copying, or number of computers it can be used on.
If you look at the examples
If you look at the examples you will see how this is done. Basically there are two ways to invoke CK: In a textarea of a form, or in a div with the 'contenteditable=true' property. To get the data, for the textarea you simply retrieve the contents; for the editable div you need to use CKEDITOR.instances.editable.getData(); where 'editable' is the id of your editable div.
This of course only gives you edited data; user authentication and sending data to the server are your own responsibility. In fact, these involve far, far more donkey-work than getting the editor working.
CKEditor is released under the GPL or Mozilla licenses. Put simply, you can freely redistribute a derivative work but you cannot place restrictions on it as regards copying, or number of computers it can be used on.