draft-js-delete-selection-plugin
v0.1.2
Published
A plugin for draft-js-plugins-editor to delete selection content.
Downloads
9
Readme
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