Hi,
I'm trying to post the data from the CKEditor window to a _blank page via jquery.
The following code can do this:
<input type="button" id="Example" value="Click Me" onclick="postData();" />
<script type ="text/javascript">
var data = $('textarea.editor').html();
function postData() {
$.post("ExamplePage.aspx", { description: data }, function (result) {
WinId = window.open('', "_blank", "toolbar=no, location=yes, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width=1400, height=1000");
WinId.document.open();
WinId.document.write(result);
WinId.document.close();
});
}
However, if the content in the editor window is changed this is not reflected in the output.
I've tried using the following code:
var data = CKEDITOR.instances.editor1.getData();
However, this doesn't work.
Any ideas?

Posting edited content from the editor window using JQuery
You know of any other editors built using jQuery . let me know via the comments section . I've noticed a conflict with jQuery Colorbox afecting the content editor windows for pages and posts in the admin section .
a-kasse