Skip to content
Plugin to integrate prosemirror with Vue 2
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
examples/browserify
test/unit
.babelrc
.eslintrc
.gitignore
.npmignore
.travis.yml
README.md
index.js
karma.conf.js
package.json
postcss.json

README.md

vue-prosemirror-2

Plugin to integrate prosemirror with Vue 2

Build Status

Usage

import Vue from 'vue'
import ProseMirror from 'vue-prosemirror-2'
import App from './App.vue'

Vue.use(ProseMirror)

new Vue({ // eslint-disable-line no-new,
  el: '#app',
  render: (h) => h(App)
})

This installs the component, which can be used as...

<prosemirror mode="all"></prosemirror>
parameter values
mode all, editor, markdown
initial-markdown binding :initial-markdown="someVar", as string: initial-markdown="**text**"

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# lint all *.js and *.vue files
npm run lint

# run unit tests
npm test

For more information see the docs for vueify.

You can’t perform that action at this time.