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'],
      ...
    }
  });
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    1

Package Sidebar

Install

npm i hyperdom-medium-editor

Weekly Downloads

1

Version

1.1.0

License

ISC

Last publish

Collaborators

  • joshski