tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
289
fork
atom
a tool for shared writing and social publishing
289
fork
atom
overview
issues
28
pulls
pipelines
render empty block as <br/>
awarm.space
3 months ago
df74efe5
3d47f030
+1
-1
1 changed file
expand all
collapse all
unified
split
components
Blocks
TextBlock
RenderYJSFragment.tsx
+1
-1
components/Blocks/TextBlock/RenderYJSFragment.tsx
···
27
27
return (
28
28
<BlockWrapper wrapper={wrapper} attrs={attrs}>
29
29
{children.length === 0 ? (
30
30
-
<div />
30
30
+
<br />
31
31
) : (
32
32
node.toArray().map((node, index) => {
33
33
if (node.constructor === XmlText) {