Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sielay/medium-editor-remove-formats

Remove formats extension for MediumEditor that removes blocks too
https://github.com/sielay/medium-editor-remove-formats

Last synced: 1 day ago
JSON representation

Remove formats extension for MediumEditor that removes blocks too

Awesome Lists containing this project

README

        

# Medium Editor Remove Formats

This extension adds button, that removes not only inline formats, but also converts headers back to paragraphs.

```
npm i --save medium-editor-remove-formats
```

You can also use it without browserify, or with AMD or with RequireJS. But why?

```javascript
const Plain = require('medium-editor-remove-formats')();

new MediumEditor(element, {
extensions: {
plain: new Plain({
label: 'My label'
})
});

```

## License

MIT of course