mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-15 11:44:05 +02:00
fix trailing new line (#3280)
This commit is contained in:
committed by
Ian Storm Taylor
parent
a234667935
commit
7f7f7c9e9d
@@ -69,7 +69,7 @@ const Children = (props: {
|
|||||||
<TextComponent
|
<TextComponent
|
||||||
decorations={ds}
|
decorations={ds}
|
||||||
key={key.id}
|
key={key.id}
|
||||||
isLast={isLeafBlock && i === node.children.length}
|
isLast={isLeafBlock && i === node.children.length - 1}
|
||||||
parent={node}
|
parent={node}
|
||||||
renderLeaf={renderLeaf}
|
renderLeaf={renderLeaf}
|
||||||
text={n}
|
text={n}
|
||||||
|
Reference in New Issue
Block a user