This repository was archived by the owner on Feb 6, 2023. It is now read-only.
Commit e20f79f
Add Section and Article to DefaultBlockRenderMap (#2212)
Summary:
*Before* submitting a pull request, please make sure the following is done...
1. Fork the repo and create your branch from `master`.
2. If you've added code that should be tested, add tests!
3. If you've changed APIs, update the documentation.
4. Ensure that:
* The test suite passes (`npm test`)
* Your code lints (`npm run lint`) and passes Flow (`npm run flow`)
* You have followed the [testing guidelines](https://github.com/facebook/draft-js/wiki/Testing-for-Pull-Requests)
5. If you haven't already, complete the [CLA](https://code.facebook.com/cla).
Please use the simple form below as a guideline for describing your pull request.
Thanks for contributing to Draft.js!
-
**Summary**
Fixes #2074
Updated the default block render map to have the section and article tags.
Pull Request resolved: #2212
Reviewed By: claudiopro
Differential Revision: D18246366
Pulled By: mrkev
fbshipit-source-id: 144f7721d92d6efcbb5c969ba992841eb9bd5f151 parent 6fc9964 commit e20f79f
File tree
2 files changed
+9
-1
lines changed- src/model
- constants
- immutable
2 files changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
50 | 56 | | |
51 | 57 | | |
52 | 58 | | |
| |||
0 commit comments