0.1.2 • Published 7 years ago
draft-js-delete-selection-plugin v0.1.2
draft-js-delete-selection-plugin
A plugin for draft-js-plugins-editor to delete selection content.
By this plugin, you can delete selected text by press backspace
.
Usage
Install via npm:
$ npm i draft-js-delete-selection-plugin
And use in your project:
import createDeleteSelectionPlugin from 'draft-js-delete-selection-plugin';
const deleteSelectionPlugin = createDeleteSelectionPlugin();
License
MIT