最近开发过程中遇到要某个商品添加描述的字段。由于我们后台使用的是nodejs开发。在网上找到了一个第三方的插件UEditor
UEditor 是由百度「FEX前端研发团队」开发的所见即所得富文本web编辑器,具有轻量,可定制,注重用户体验等特点,开源基于MIT协议,允许自由使用和修改代码。
官方网站:http://ueditor.baidu.com/website/
使用UEditor(nodejs)
UEditor 官方支持的版本有PHP JSP ASP.NET.
然而有大神netpi在github上贡献了开源版本的nodejs版UEditor.
URL: https://github.com/netpi/ueditor
使用方法:
1.安装ueditor模块
npm install ueditor --save