Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

hyperdom-medium-editor

1.1.0 • Public • Published

Medium Editor for hyperdom

npm install hyperdom-medium-editor

Usage

var mediumEditor = require('hyperdom-medium-editor');
 
function render(model) {
  return mediumEditor({
    class: 'my-class',
    binding: [model, 'html'],
 
    mediumOptions: {
      ...
      buttons: ['bold', 'italic', 'header1', 'header2', 'unorderedlist', 'orderedlist'],
      ...
    }
  });
}

Keywords

install

npm i hyperdom-medium-editor

Downloadsweekly downloads

2

version

1.1.0

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability