vue-aiie-contenteditor

1.2.1 • Public • Published

vue-aiie-contenteditor

A editors on the web made with Vue

NPM Software License CircleCI

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 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

/vue-aiie-contenteditor/

    Package Sidebar

    Install

    npm i vue-aiie-contenteditor

    Weekly Downloads

    1

    Version

    1.2.1

    License

    MIT

    Unpacked Size

    513 kB

    Total Files

    25

    Last publish

    Collaborators

    • jinmayamashita