mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 02:05:45 +03:00
update comment
This commit is contained in:
parent
8b8deb86ed
commit
56ac1ed0c0
1 changed files with 6 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue