plastiq-medium-editor
v1.1.0
Published
medium-editor for plastiq
Downloads
17
Readme
Medium Editor for Plastiq
npm install plastiq-medium-editor
Usage
var mediumEditor = require('plastiq-medium-editor');
function render(model) {
return mediumEditor({
class: 'my-class',
binding: [model, 'html'],
mediumOptions: {
...
buttons: ['bold', 'italic', 'header1', 'header2', 'unorderedlist', 'orderedlist'],
...
}
});
}