下面会用到的资源下载链接
链接: https://pan.baidu.com/s/1qH96hDPLmgbBRp8SKStdiA 提取码: 4x95
<link href="kindeditor-4.1.10/themes/default/default.css" type="text/css" rel="stylesheet">
<script type="text/javascript" charset="utf-8" src="kindeditor-4.1.10/kindeditor-all-min.js"></script>
<script type="text/javascript" charset="utf-8" src="kindeditor-4.1.10/lang/zh_CN.js"></script>
<script type="text/javascript" charset="utf-8" src="jquery-easyui-1.4.1/jquery.min.js"></script>
<script type="text/javascript">
$(function(){
KindEditor.ready(function(){
KindEditor.create("#editor")
})
})
</script>
<body>
<h1>富文本编辑器Demo</h1>
<textarea style="width:700px;height:350px" id="editor"></textarea>
</body>