GithubHelp home page GithubHelp logo

davidmr001 / vue-editor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jiangyoucai/vue-editor

0.0 1.0 0.0 9 KB

Editor for Vue.js , Base on wangEditor

Home Page: http://www.wangeditor.com/

Vue 100.00%

vue-editor's Introduction

vue-editor

Editor for Vue2.0 , Base on wangEditor

how to use

template

<v-editor
:input-content="inputContent"
:upload-url="uploadURL"
v-model="outputContent"></v-editor>

import

import Editor from './Editor'
export default {
    data() {
        return {
            // input content to editor
            inputContent: 'base on wangeditor',
            // output content from editor
            outputContent: '',
            // set image upload api url
            uploadURL: '/api/v1/help/upload/wangEditorH5File'
        }
    },
    computed: {},
    ready() {},
    attached() {},
    methods: {
        submit() {
            console.log(this.outputContent)
        }
    },
    components: {
        'v-editor': Editor
    }
}

remark

check the demo or create a issues

vue-editor's People

Contributors

jiangyoucai avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.