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

[Docs] Rename DraftEditorBlock to EditorBlock #2002

Closed
wants to merge 1 commit into from

Conversation

umanghome
Copy link
Contributor

@umanghome umanghome commented Feb 13, 2019

Summary

The DraftEditorBlock component is exposed to the public API as EditorBlock, while the documentation still mentions DraftEditorBlock.
https://github.com/facebook/draft-js/blob/b4183b1519edcd075325adae0cb208551dc80f50/src/Draft.js#L45

@facebook-github-bot
Copy link

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need the corporate CLA signed.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

@facebook-github-bot
Copy link

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@claudiopro
Copy link
Contributor

Good catch @umanghome, thanks for contributing a fix! 💯

Copy link

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@claudiopro is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link

@claudiopro merged this pull request in 8514b57.

jdecked pushed a commit to twitter-forks/draft-js that referenced this pull request Oct 9, 2019
Summary:
**Summary**

The `DraftEditorBlock` component is exposed to the public API as `EditorBlock`, while the [documentation](https://draftjs.org/docs/advanced-topics-block-components) still mentions `DraftEditorBlock`.
https://github.com/facebook/draft-js/blob/b4183b1519edcd075325adae0cb208551dc80f50/src/Draft.js#L45
Pull Request resolved: facebookarchive#2002

Differential Revision: D15239547

Pulled By: claudiopro

fbshipit-source-id: 43556827d1bc571e98b528562c88038f195534c7
mmissey pushed a commit to mmissey/draft-js that referenced this pull request Mar 24, 2020
Summary:
**Summary**

The `DraftEditorBlock` component is exposed to the public API as `EditorBlock`, while the [documentation](https://draftjs.org/docs/advanced-topics-block-components) still mentions `DraftEditorBlock`.
https://github.com/facebook/draft-js/blob/b4183b1519edcd075325adae0cb208551dc80f50/src/Draft.js#L45
Pull Request resolved: facebookarchive#2002

Differential Revision: D15239547

Pulled By: claudiopro

fbshipit-source-id: 43556827d1bc571e98b528562c88038f195534c7
alicayan008 pushed a commit to alicayan008/draft-js that referenced this pull request Jul 4, 2023
Summary:
**Summary**

The `DraftEditorBlock` component is exposed to the public API as `EditorBlock`, while the [documentation](https://draftjs.org/docs/advanced-topics-block-components) still mentions `DraftEditorBlock`.
https://github.com/facebook/draft-js/blob/b4183b1519edcd075325adae0cb208551dc80f50/src/Draft.js#L45
Pull Request resolved: facebookarchive/draft-js#2002

Differential Revision: D15239547

Pulled By: claudiopro

fbshipit-source-id: 43556827d1bc571e98b528562c88038f195534c7
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants