If you want to read CKEditor contents, use the getData()
method.
If you want to write some content into CKEditor, use the setData(data, callback)
method.
An example of how to use these functions can be found in the Basic usage of the API sample (api.html
) located in the _samples
directory of CKEditor installation package.