1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-06 15:26:34 +02:00

Fixed last failing lint:prettier in serializing docs

This commit is contained in:
Sunny Hirai
2021-03-29 01:43:41 -07:00
parent 4f07e6f16d
commit cae919e3c2

View File

@@ -166,7 +166,7 @@ const deserialize = el => {
}
const children = Array.from(el.childNodes).map(deserialize)
if (children.length === 0) {
children = [{ text: '' }]
}