diff --git a/src/model/constants/DraftBlockType.js b/src/model/constants/DraftBlockType.js index e2168146b2..9acb253dc6 100644 --- a/src/model/constants/DraftBlockType.js +++ b/src/model/constants/DraftBlockType.js @@ -27,7 +27,9 @@ export type CoreDraftBlockType = | 'ordered-list-item' | 'blockquote' | 'code-block' - | 'atomic'; + | 'atomic' + | 'section' + | 'article'; /** * User defined types can be of any valid string. diff --git a/src/model/immutable/DefaultDraftBlockRenderMap.js b/src/model/immutable/DefaultDraftBlockRenderMap.js index 34d867d199..dc36ac9707 100644 --- a/src/model/immutable/DefaultDraftBlockRenderMap.js +++ b/src/model/immutable/DefaultDraftBlockRenderMap.js @@ -47,6 +47,12 @@ const DefaultDraftBlockRenderMap: DefaultCoreDraftBlockRenderMap = Map({ 'header-six': { element: 'h6', }, + section: { + element: 'section', + }, + article: { + element: 'article', + }, 'unordered-list-item': { element: 'li', wrapper: UL_WRAP,