1.0.3 • Published 4 years ago

dti-simple-text-editor v1.0.3

Weekly downloads
12
License
-
Repository
-
Last release
4 years ago

Simple Text Editor

A Vuex.js 2.0 simple text editor for DIT coding challenge

Installation

npm install dti-simple-text-editor

Then in your main.js file import and setup the component:

import Vue from 'vue'
import App from './App'
import SimpleTextEditor from 'dti-simple-text-editor'

let config = {
  menu: [
    'bold', 'italic', 'underline'
  ]
};
Vue.use(Vuex);
Vue.use(SimpleTextEditor, config);

new Vue({
  el: '#app',
  components: { App },
  template: '<App/>'
})

Now you can use it in your app by simply adding:

 <SimpleTextEditor></SimpleTextEditor>

How it looks

screenshot

Find an online DEMO here

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago