1.0.1 • Published 5 months ago

yang-ueditor-vue v1.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
5 months ago

yangueditor

把ueditor拿到vue上用的一个组件

install

npm install yang-ueditor-vue --save

use

下载UEditor jsp版本 或者用我提供的 
https://github.com/wa-monster/yang-ueditor 的public目录下,放到对应项目的public下

import '../public/UEditor/ueditor.config.js'
import '../public/UEditor/ueditor.all.js'
import '../public/UEditor/lang/zh-cn/zh-cn.js'
import '../public/UEditor/ueditor.parse.min.js'


<!-- 默认引入umd格式,所以es6模块的时候请使用 如下引入方式 -->
import * as yangUEditorVue from 'yang-ueditor-vue'



Vue.use(yangUEditorVue)

<yang-editor
  ref="ue"
  :default-msg="description"
  :config="config"
  id="uEditor"></yang-editor>

  default-msg :储存编辑器里面的文字
  config :ueditor的配置
  id :渲染必须的id
1.0.1

5 months ago

1.0.0

5 months ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago