Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
Export RawDraftContentState publicly (#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: #1841

Differential Revision: D9734731

fbshipit-source-id: e972a67b05b4cfc9e6e9cffe185fd0ca395ce327
  • Loading branch information
cedricmessiant authored and facebook-github-bot committed Sep 8, 2018
1 parent a18b6fe commit c6ff39d
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 c6ff39d

Please sign in to comment.