hifarer / vueditor

A wysiwyg editor written in Vue.js and Vuex.js
http://hifarer.github.io/vueditor/
MIT License
646 stars 112 forks source link

add: default-content prop, @change event #55

Closed chiaweilee closed 5 years ago

chiaweilee commented 6 years ago

eslint error report fixed.

chiaweilee commented 6 years ago

add: default-content props

<Vueditor :default-content='DefaultContent'/>

add: @change event

<Vueditor @change="getValue"/>
methods: {
    getValue (value) {
        console.log(value)
    }
}