1.2.1 • Published 7 years ago
vue-aiie-contenteditor v1.2.1
vue-aiie-contenteditor
A editors on the web made with Vue
Basic Usage
Installation
npm install --save vue-aiie-contenteditoror
yarn add vue-aiie-contenteditorRegister the component
import Vue from 'vue'
import VueAiieContentEditor from 'vue-aiie-contenteditor'
Vue.use(VueAiieContentEditor)
new Vue({
el: '#app',
render: h => h(App)
})<template>
<div class="app">
<vue-aiie-contenteditor
className="example"
:contentTitle="Hello world"
:dispatch=this.bindEditorValue
/>
</div>
</template>
<script>
export default {
methods: {
bindEditorValue(editorValue) {
console.log(editorValue)
}
}
}
</script>Properties
| name | type | description |
|---|---|---|
className | String | identifies a class for css styling. |
contentTitle | String | title text of content. |
dispatch | Function | callback function for handling data |
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
npm run testor
yarn testContributing
Please see CONTRIBUTING and CONDUCT for details.
Security
If you discover any security related issues, please email jinmayamashita@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
This repository is originally ported from vue-prosemirror-editor