I use the easiest way to implement the CKEditor.
<!DOCTYPE HTML> <html lang="en"> <head> <meta charset="UTF-8"> <title>CKEditor test</title> <script src="ckeditor/ckeditor.js" type="text/javascript"></script> </head> <body> <form method="post" action="ckeditor.php"> <input name="title" type="text" value="test" /> <textarea id="editor" name="editor" rows="10" cols="30"></textarea> <input type="submit" value="go" /> </form> <script type="text/javascript"> CKEDITOR.replace('editor', { width: 600 }); </script> </body> </html>
This is the result, I type "hihi" in content area.
But when we change to the source code mode, Chrome will add some weird code in content that other browser won't, I change two computer and all the same, my CKEditor version is 3.6.2, and Chrome is 15.0.874.