Skip to content

Commit

Permalink
Import AtomicBlockUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
albertomr86 committed Jun 10, 2018
1 parent 7933b80 commit c62f886
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "draft-js-toolbox",
"version": "0.5.0",
"version": "0.5.1",
"description": "Useful goodies for DraftJS",
"keywords": [
"draft-js",
Expand Down
2 changes: 1 addition & 1 deletion src/modifiers.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Modifier, SelectionState, EditorState } from 'draft-js';
import { SelectionState, EditorState, Modifier, AtomicBlockUtils } from 'draft-js';

export const addBlock = (editorState, entityType, data = {}) => {
const selectionState = editorState.getSelection();
Expand Down

0 comments on commit c62f886

Please sign in to comment.