You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
update comment
This commit is contained in:
@@ -10,7 +10,12 @@ import {
|
|||||||
import * as sdk from './index';
|
import * as sdk from './index';
|
||||||
|
|
||||||
const BLOCK_RENDER_MAP = DefaultDraftBlockRenderMap.set('unstyled', {
|
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 = {
|
const STYLES = {
|
||||||
|
|||||||
Reference in New Issue
Block a user