Installation

Npm

Install editor package

yarn add @wangeditor/editor
# npm install @wangeditor/editor --save

Install React editor component

yarn add @wangeditor/editor-for-react
# npm install @wangeditor/editor-for-react --save

Install Vue 2.x editor component

yarn add @wangeditor/editor-for-vue
# npm install @wangeditor/editor-for-vue --save

Install Vue 3.x editor component

yarn add @wangeditor/editor-for-vue@next
# npm install @wangeditor/editor-for-vue@next --save

CDN

<!-- import css -->
<link href="https://cdn.jsdelivr.net/npm/@wangeditor/editor@latest/dist/css/style.css" rel="stylesheet">

<!-- import js -->
<script src="https://cdn.jsdelivr.net/npm/@wangeditor/editor@latest/dist/index.min.js"></script>
<script>
    var E = window.wangEditor; // global variable
</script>
Last Updated:
Contributors: 王福朋