1.0.17 • Published 5 years ago
zxb-editor v1.0.17
zxb-editor
下载
下载富文本编辑器插件
npm install zxb-editor
下载依赖
npm install
注册全局组件
import Editor from 'zxb-editor'
import 'zxb-editor/lib/editorPanel.css'
import 'zxb-editor/lib/editorPanel.common.js'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import axios from 'axios';
Vue.use(Editor);
Vue.use(ElementUI);
Vue.prototype.$axios = axios;
使用
//可以直接通过v-model获取输入内容
<EditorPanel :id="editor" v-model="content"></EditorPanel>
参数|类型|说明
--|:--:|--:
id|string|编辑器唯一识别的id
'content'(可以为其他变量,自己定义)|string|用于接受编辑器输出数据
1.0.17
5 years ago
1.0.16
5 years ago
1.0.15
5 years ago
1.0.14
5 years ago
1.0.13
5 years ago
1.0.12
5 years ago
1.0.11
5 years ago
1.0.10
5 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
0.1.5
5 years ago
0.1.4
5 years ago
0.1.3
5 years ago
0.1.2
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago
0.1.0
5 years ago