I dunno, maybe this is so mind-numbingly obvious that it isn't included in the quick start guide or the documentation, but...all I want is to send the output from CKEditory to another file as raw html.
What do I need to do that? I've discovered I need to either add a save button to the toolbar or include a submit button for the form that contains the CKEditor instance, but when clicking either of those it takes me to my results page but it is just blank. Do I need to add something to the results page?
Here's my page with the editor (cke_test.php):
<!DOCTYPE html>
<html>
<head>
<title>A Simple Page with CKEditor</title>
<!-- Make sure the path to CKEditor is correct. -->
<script src="ckeditor/ckeditor.js"></script>
</head>
<body>
<form method="post" action="dump.php">
<textarea name="editor1" id="editor1" rows="10" cols="80">
This is my textarea to be replaced with CKEditor.
</textarea>
<script>
// Replace the <textarea id="editor1"> with a CKEditor
// instance, using default configuration.
CKEDITOR.replace( 'editor1' );
</script>
<p>
<input type="submit">
</p>
</form>
</body>
</html>
*Edit: The documentation (Inserting CKEditor > Basic editing) mentions saving to a .php file, but it isn't clear - where do I put that code? It says 'following the above code sample' but that sample is for including the script in the <head>, and putting the <?php... code there jsut results in an error (and in fact, no matter where I put it, it results in an error). And the <?php... code isn't included in the Complete Sample at the bottom of the documentation page. So I'm just confused!
Ha, serves me right for not
Ha, serves me right for not looking closer at the files used by the samples and following the code back from the output.
I've resolved this, I need to put in the PHP post stuff in my 'dump.php' page.
OK this thread can be closed/deleted. Sorry y'all.