vue使用wangEditor富文本

目录

1、安装wangEditor

2、引入wangEditor

3、使用wangEditor

4、使用wangEditor的事件回调


1、安装wangEditor

首先,需要安装wangEditor。可以通过npm或yarn来安装:

bashnpm install wangeditor --save
bashyarn add wangeditor

2、引入wangEditor

在Vue组件中引入wangEditor,需要在组件的

你可能感兴趣的:(vue.js,前端,javascript)