UNPKG

draft-js-list-depth-plugin

Version:
9 lines (7 loc) 198 B
import { EditorState, RichUtils } from 'draft-js'; export default editorState => EditorState.push( editorState, RichUtils.tryToRemoveBlockStyle(editorState), 'change-block-type' );