JSPM

  • Created
  • Published
  • Downloads 9103
  • Score
    100M100P100Q138158F

wangEditor - 基于javascript和css开发的 web 富文本编辑器, 轻量、简洁、易用、开源免费

Package Exports

  • wangeditor
  • wangeditor/release/wangEditor.js
  • wangeditor/release/wangEditor.min.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (wangeditor) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

wangEditor

介绍

wangEditor —— 轻量级 web 富文本编辑器,配置方便,使用简单。支持 IE10+ 浏览器。

图片

查看 v2 版本的代码和文档点击这里

下载

使用

var E = window.wangEditor
var editor = new E('#div1')
editor.create()

运行 demo

  • 下载源码 git clone git@github.com:wangfupeng1988/wangEditor.git
  • 安装或者升级最新版本 node(最低v6.x.x
  • 进入目录,安装依赖包 cd wangEditor && npm i
  • 安装包完成之后,windows 用户运行npm run win-example,Mac 用户运行npm run example
  • 打开浏览器访问localhost:3000/index.html
  • 用于 React、vue 或者 angular 可查阅文档其他章节中的相关介绍

交流

QQ 群

以下 QQ 群欢迎加入交流问题(可能有些群已经满员)

  • 164999061
  • 281268320

提问

注意,作者只受理以下几种提问方式,其他方式直接忽略

每次升级版本修复的问题记录在这里

关于作者

如果你感觉有收获,欢迎给我打赏 ———— 以激励我更多输出优质开源内容

图片