vue-aiie-contenteditor
v1.2.1
Published
A editors on the web made with Vue
Downloads
5
Readme
vue-aiie-contenteditor
A editors on the web made with Vue
Basic Usage
Installation
npm install --save vue-aiie-contenteditor
or
yarn add vue-aiie-contenteditor
Register 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 test
or
yarn test
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Security
If you discover any security related issues, please email [email protected] 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