1.4.0 • Published 6 years ago

vue-cuihovah-ueditor v1.4.0

Weekly downloads
14
License
-
Repository
-
Last release
6 years ago

vue-cuihovah-ueditor

将ueditor添加了修改mathjax公式的功能,封装成了Vue组件

Examples

Examples Page

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

  • cuihovah@gmail.com

License (MIT)

b837e6c579d186513242628cbeec0c266bc0b90b

1.4.0

6 years ago

1.3.1

6 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago