Skip to content

Commit

Permalink
Export RawDraftContentState publicly (facebookarchive#1841)
Browse files Browse the repository at this point in the history
Summary:
**Summary**

When I used v0.10.1 I was able to import `RawDraftContentState`. Since I upgraded to version 0.10.5 I can't.

Example of line that does not work anymore:

`import { RawDraftContentState } from 'draft-js';`
Pull Request resolved: facebookarchive#1841

Differential Revision: D9734731

fbshipit-source-id: e972a67b05b4cfc9e6e9cffe185fd0ca395ce327
  • Loading branch information
cedricmessiant authored and jdecked committed Oct 8, 2019
1 parent 86936fb commit c5ab47b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Draft.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const DraftModifier = require('DraftModifier');
const DraftEntityInstance = require('DraftEntityInstance');
const EditorState = require('EditorState');
const KeyBindingUtil = require('KeyBindingUtil');
const RawDraftContentState = require('RawDraftContentState');
const RichTextEditorUtil = require('RichTextEditorUtil');
const SelectionState = require('SelectionState');

Expand Down Expand Up @@ -54,6 +55,7 @@ const DraftPublic = {
CharacterMetadata,
ContentBlock,
ContentState,
RawDraftContentState,
SelectionState,

AtomicBlockUtils,
Expand Down

0 comments on commit c5ab47b

Please sign in to comment.