chmln / vue-wysiwyg

A lightweight WYSIWYG HTML editor for Vue.js
https://chmln.github.io/vue-wysiwyg/
MIT License
555 stars 134 forks source link

How do I disable dropzone? #40

Closed dnes666 closed 6 years ago

dnes666 commented 6 years ago

I just want the uploaded image converted to base64 and display on the editor.

chmln commented 6 years ago

@dnes666 just leave the image options as default and images will be inserted as base64.

dnes666 commented 6 years ago

what are the default options for image? I am not getting it.

Here is how my JS looks

import Vue from 'vue'
import wysiwyg from 'vue-wysiwyg'
Vue.use(wysiwyg, {
  hideModules: { 'bold': false },
  image: {}
})