<!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入门(待续……)
最新推荐文章于 2019-11-06 17:17:20 发布