wangEditor4
A lightweight rich text editor, friendly API and use extremely conventient.
Offical website
·
Explore the docs »
中文文档
·
View Demo
·
Report Bug
·
Request Feature
Attention
Current document is for wangEditor v4.
wangEditor v5 has published, which is recommended to use.
About The Project
wangEditor4 is a web rich text editor that use typescript develop. It's lightweight, simple, use convience and open source.
It support most of modern browsers: Chrome, Firefox, Safar, Edge, QQ, IE11 and so on.
It doesn't support mobile browers.
Usage
Use NPM Package
npm install wangeditor --save
A few lines code for creating editor instance:
import E from "wangeditor";
const editor = new E("#div1");
editor.create();
Use CDN
<script type="text/javascript" src="https://unpkg.com/wangeditor/dist/wangEditor.min.js"></script>
<script type="text/javascript">
const E = window.wangEditor
const editor = new E('#div1')
// or const editor = new E(document.getElementById('div1'))
editor.create()
</script>
Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated. Before contributing wangEditor, You must read contribution docs.
License
Distributed under the MIT License. See MIT License for more information.
Contact
Wangfupeng - wangfupeng1988@163.com
Project Link: https://github.com/wangeditor-team/wangEditor
Developer Team
We have a professional developer team, if you want to join us, you can send email to wangfupeng1988@163.com
.
If you are a chinese developer, you can join our QQ group or read chinese docs for more information.
Support Us
Your support will encourage us to output more quality content.