This repository was archived by the owner on Feb 6, 2023. It is now read-only.
Commit 06c0ee6
Finish modernizing convertFromHTMLToContentBlocks - max nesting bug fix
Summary:
The old convertFromHTMLToContentBlocks is capping depth to 4, v2 doesn't cap the depth.
DraftEditorContents-core component didn't handle cases of depth bigger then 4.
Similar to the current UI behavior, depth bigger then 4 will be shown as the same depth of 4.
Reviewed By: flarnie
Differential Revision: D7816688
fbshipit-source-id: 8989f0c5fb03bfcffc1e50575e35986d2491c3c21 parent d24b802 commit 06c0ee6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments