vue-cuihovah-ueditor
v1.4.0
Published
将ueditor添加了修改mathjax公式的功能,封装成了Vue组件
Downloads
9
Readme
vue-cuihovah-ueditor
将ueditor添加了修改mathjax公式的功能,封装成了Vue组件
Examples
Installation
npm install vue-cuihovah-ueditor
Usage
<template>
<selector :init="selectorConstructor" :handle="selectorHandle"></selector>
</template>
<template>
<div>
<vue-ueditor :display="false" :exportData="exportData" />
</div>
</template>
<script>
import VueUeditor from 'vue-cuihovah-ueditor';
export default {
data(){
return {
text: ''
}
},
mounted(){
var that = this;
},
components: {
VueUeditor
},
methods: {
exportData: function(text){
this.text = text;
},
importData: function(text){
this.contentText = text;
}
}
}
</script>
Options
exportData: 获取富文本编辑器的函数
contributing
License (MIT)
b837e6c579d186513242628cbeec0c266bc0b90b