Skip to content

CVCEeu-dh/prosemirror-plugin-plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(WIP!)

A simple plugin to show a plus button, as seen in medium.com Usage: cfr the demo/demo.js file.

import {ProseMirror} from "prosemirror/dist/edit/main"
import {exampleSetup} from "prosemirror/dist/example-setup"
import {defaultMarkdownParser} from "prosemirror/dist/markdown"
import {Plus} from "prosemirror-plugin-plus" // not yet ... 

new ProseMirror({
  place: textarea,
  doc: defaultMarkdownParser.parse('Hello **world** with some\nline and a [link](doc/doc1)'),
  plugins: [
    exampleSetup.config({
      tooltipMenu: true
    }),
    new Plus
  ]
})

install

// todo 
// npm install prosemirror-plugin-plus

run the demo

npm install prosemirror
npm install
npm run demo

build & export

todo

About

Prosemirror plugin to get a medium.com like plus button

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published