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

/hyperdom-medium-editor/

    Package Sidebar

    Install

    npm i hyperdom-medium-editor

    Weekly Downloads

    1

    Version

    1.1.0

    License

    ISC

    Last publish

    Collaborators

    • joshski