Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

vue-cuihovah-ueditor

cuihovah181.4.0

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

readme

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

License (MIT)

b837e6c579d186513242628cbeec0c266bc0b90b