From 56ac1ed0c0e23478c41958b2479cb0d974c075c9 Mon Sep 17 00:00:00 2001 From: Aviral Dasgupta Date: Wed, 15 Jun 2016 20:34:37 +0530 Subject: [PATCH] update comment --- src/RichText.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/RichText.js b/src/RichText.js index 450e31e6b9..7e749bc24a 100644 --- a/src/RichText.js +++ b/src/RichText.js @@ -10,7 +10,12 @@ import { import * as sdk from './index'; const BLOCK_RENDER_MAP = DefaultDraftBlockRenderMap.set('unstyled', { - element: 'span' // draft uses
by default which we don't really like, so we're using

+ element: 'span' + /* + draft uses

by default which we don't really like, so we're using + this is probably not a good idea since is not a block level element but + we're trying to fix things in contentStateToHTML below + */ }); const STYLES = {