主题: 添加自定义插件问题 |
作者: heritrix, 发布日期: 2014-05-05 11:07:40, 浏览数: 2022 |
我文档里面下面的完整的代码写到hello.html 里测试,怎么运行没东西啊?
完整代码: <!doctype html> <html> <head> <meta charset="utf-8" /> <title>Hello</title> <style> .ke-icon-hello { background-image: url(../skins/default/default.gif); background-position: 0px -672px; width: 16px; height: 16px; } </style> <link rel="stylesheet" href="../themes/default/default.css" /> <script charset="utf-8" src="../kindeditor.js"></script> <script charset="utf-8" src="../lang/zh_CN.js"></script> <script> KindEditor.lang({ hello : '你好' }); KindEditor.ready(function(K) { K.create('#id', { items : ['hello'] }); }); </script> </head> <body> <textarea id="editor_id" name="content" style="width:700px;height:300px;"></textarea> </body> </html>
|
作者: hole11, 发布日期: 2014-05-05 20:53:06 |
KindEditor.ready(function(K) { K.create('#id', { items : ['input'] }); editor = K.create('textarea[name="content"]', { allowFileManager : true }); }); |
回复 |