hyperdom-medium-editor
v1.1.0
Published
medium-editor for hyperdom
Downloads
2
Readme
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'],
...
}
});
}