update comment

pull/21833/head
Aviral Dasgupta 2016-06-15 20:34:37 +05:30
parent 8b8deb86ed
commit 56ac1ed0c0
1 changed files with 6 additions and 1 deletions

View File

@ -10,7 +10,12 @@ import {
import * as sdk from './index';
const BLOCK_RENDER_MAP = DefaultDraftBlockRenderMap.set('unstyled', {
element: 'span' // draft uses <div> by default which we don't really like, so we're using <p>
element: 'span'
/*
draft uses <div> by default which we don't really like, so we're using <span>
this is probably not a good idea since <span> is not a block level element but
we're trying to fix things in contentStateToHTML below
*/
});
const STYLES = {