jsp如何使用kindeditor
程序员文章站
2022-04-13 13:07:47
...
1.https://github.com/kindsoft/kindeditor 下载kindeditor
2.把kindeditor引入项目中
<link rel="stylesheet"
href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
<script type="text/javascript" charset="utf-8"
src="${pageContext.request.contextPath }/kindeditor-master/kindeditor-all.js"></script>
<script type="text/javascript" charset="utf-8"
src="${pageContext.request.contextPath }/kindeditor-master/lang/zh_CN.js"></script>
<script type="text/javascript">
<!--var editor;
KindEditor.ready(function(K) {
editor = K.create('#kindEditor_demo', {});
});
-->
</script>
上一篇: 爱情中,男人忽悠你的表现有哪些?