Opal ProseMirror aims to be a reasonable wrapper around ProseMirror. ProseMirror has a large API. This project currently only wraps a subset of it. Pull requests to add more surface area to the API are welcome.
Add this line to your application's Gemfile:
gem 'opal-prosemirror'
And then execute:
$ bundle
Or install it yourself as:
$ gem install opal-prosemirror
require 'opal' # Not necessary if you load Opal from a CDN
require 'prose_mirror'
- Fork it ( https://github.com/ajjahn/opal-prosemirror/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request