<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title>CK editor</title> <script src="js/ckeditor.js"></script> </head> <body> <textarea name="editor1" id="editor1" rows="10" cols="80">This is my textarea to be replaced with CKEditor.</textarea> <script> CKEDITOR.replace("editor1"); </script> </body> </html>
原文地址:http://antlove.blog.51cto.com/10057557/1930802