ckeditor入门(待续……)

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>ckeditor-hello world</title>
<meta name="description" content="">
<meta name="keywords" content="">
<link href="" rel="stylesheet">
<script type="text/javascript" src="js/jquery-1.10.1.js"></script>
<script src="js/ckeditor/ckeditor.js"  type="text/javascript"></script>
</head>
<body>
				<textarea style="width:100%;height:300px;" name="myckeditor"></textarea>
				<script type="text/javascript">
					CKEDITOR.config.language = 'zh-cn';
		        	CKEDITOR.replace('myckeditor', { toolbar : 'Jc' });//Jc这个是需要文件配置的
				</script>
</body>
</html>
 

你可能感兴趣的:(ckeditor入门(待续……))