Hi
I do not want to use the save button within the editor itself. I have other fields on the same page and want to submit everything all at once. I have a separate submit button on the page I would like to use instead.
Most editors I have used before update the textarea in the background so I can just submit this, but with CKEditor it doesn't seem to do this. Does anyone have a suggestion how I can get the editor to automatically populate the text area or another hidden textarea so that I can submit it in this way?
Thanks
I do not want to use the save button within the editor itself. I have other fields on the same page and want to submit everything all at once. I have a separate submit button on the page I would like to use instead.
Most editors I have used before update the textarea in the background so I can just submit this, but with CKEditor it doesn't seem to do this. Does anyone have a suggestion how I can get the editor to automatically populate the text area or another hidden textarea so that I can submit it in this way?
Thanks
Re: Using my own save button
On the onclick event of my input button I just needed to add:
function UpdateTextArea() {
var editor_data = CKEDITOR.instances['content-text'].getData();
$('#content-text').html(editor_data);
}