Add calling editor code between
.<!--调用kind富文本编辑器。--> <script charset="utf-8" src="/editor/kindeditor.js"></script> <script charset="utf-8" src="/editor/lang/zh_CN.js"></script> <script> KindEditor.ready(function(K) { window.editor = K.create('#editor_id'); }); </script>
Add the following code in the article content area.
<td style="text-align:right;">文章内容:</td> <script charset="utf-8" src="/editor/kindeditor.js"></script> <script> KE.init({ id : 'editor_id' }); $.ready(function() { KE.create('editor_id'); }); </script> <td><textarea id="editor_id" name="content" rows="20" width="100%" ></textarea> </td>
The above introduces how PHP calls the kindedit rich text editor. , including relevant content, I hope it will be helpful to friends who are interested in PHP tutorials.