VueJS Medium Editor
Vue Js component for Medium Editor wrapper with https://github.com/yabwe/medium-editor But all plugins are re-writing in Vue.js All Medium Editor configs are supported
Features
- Medium like editor
- Image uploader and description
- Image width configable width for normal / expand / full screen sizing
- Imgur uploading
- Embed Gist
- Inline code syntax highting
Usage
Installation
yarn add vuejs-medium-editor
OR
npm install vuejs-medium-editor
Usage
add to global component
Don't forget to include css file in your project
OR in styles
like below
usage
toolbar
you can customize the toolbar buttons too
available options: All options are available here
You can also override options like in Medium Editor ;
images
available options too thanks to ErgoFriend pull request on the original repo
code highlighting
Code highlighting is inbuilt using highlight.js
You should include the highligh.js
css file within the styles
You can get more theme styles here
Nuxt.js Usage
create a plugins
import a plugin in nuxt.config.js with disable ssr mode
include a css file