Skip to content
This repository has been archived by the owner on Aug 8, 2021. It is now read-only.
/ vue-editor Public archive

This is a powerful and based on the 'Vue' Markdown editor.๐Ÿ˜‚๐Ÿ˜‚

Notifications You must be signed in to change notification settings

anguer/vue-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

95 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Vue Editor

VueEditor NPM downloads JS gzip size

or Edit in JSFiddle

Install

npm install vue-md-editor --save

or

<script src="https://unpkg.com/vue-md-editor/dist/vue-editor.min.js"></script>

Usage

// main.js
import Vue from 'vue'
import VueEditor from 'vue-md-editor'

Vue.use(VueEditor)

new Vue({
  el: '#app',
  data: {},
  ...
})
<!--index.html-->
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>VueEditor example</title>
</head>
<body>
  <div id="app">
 ย  ย <vue-editor v-model="value"></vue-editor>
  </div>
</body>
</html>

Dependencies

Keyboards

Markdown Result Shortcut
**text** text Ctrl + B
_text_ text Ctrl + I
### text Heading Ctrl + H
~~text~~ text Ctrl + D
- text List Ctrl + U
1. text List Ctrl + O
[Demo](http://vue-editor.beblog.cn) Demo Ctrl + A
![Image](https://cn.vuejs.org/images/logo.png "Title") Image Ctrl + P
`text` text Ctrl + C
> text Blockquote Ctrl + Q

Issues

ไฟฎๅค Issue #5