使用ckeditor作为编辑器
文章目录
今天使用ckeditor作为编辑器,感觉功能强大,推荐一下!

首先,现在您需要的版本:http://ckeditor.com/download
然后,引用:<script src="../assets/third-party/ckeditor/ckeditor.js"></script>
最后,启动
//初始化编辑器
editor = CKEDITOR.replace('content');
在插件中的config.js可以配置默认启动设置。
今天使用ckeditor作为编辑器,感觉功能强大,推荐一下!

首先,现在您需要的版本:http://ckeditor.com/download
然后,引用:<script src="../assets/third-party/ckeditor/ckeditor.js"></script>
最后,启动
//初始化编辑器
editor = CKEDITOR.replace('content');
在插件中的config.js可以配置默认启动设置。
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论