1.2.1 • Published 6 years ago

vue-aiie-contenteditor v1.2.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

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

nametypedescription
classNameStringidentifies a class for css styling.
contentTitleStringtitle text of content.
dispatchFunctioncallback 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 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