Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
rawContentState={content ? htmlToRaw(content) : null}
stripPastedStyles={false}
onSave={this.handleOnSave}
entityTypes={[
LINK,
IMAGE,
IFRAME
]}
blockTypes={[
{type: BLOCK_TYPE.HEADER_ONE, icon: h1},
{type: BLOCK_TYPE.HEADER_TWO, icon: h2},
{type: BLOCK_TYPE.HEADER_THREE, icon: h3},
{type: BLOCK_TYPE.BLOCKQUOTE, icon: },
{type: BLOCK_TYPE.UNORDERED_LIST_ITEM, icon: },
{type: BLOCK_TYPE.ORDERED_LIST_ITEM, icon: },
{type: BLOCK_TYPE.CODE, icon: }
]}
inlineStyles={[
{type: INLINE_STYLE.ITALIC, icon: },
{type: INLINE_STYLE.BOLD, icon: }
]} />
);
}
}