前端页面使用编辑器

1. 先下载kindeditor

<script charset="utf-8" src="/static/kindeditor/kindeditor-all-min.js"></script> # 文件路径配置
<script>
KindEditor.ready(function (K) {
window.editor = K.create('#id_content', { # #id_content是你所绑定的大文本框(textarea)的id,只需更改这里即可
'%100',
height:'600px',
});
});
</script>
原文地址:https://www.cnblogs.com/JackShi/p/12722186.html