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:
@@ -166,7 +166,7 @@ const deserialize = el => {
|
||||
}
|
||||
|
||||
const children = Array.from(el.childNodes).map(deserialize)
|
||||
|
||||
|
||||
if (children.length === 0) {
|
||||
children = [{ text: '' }]
|
||||
}
|
||||
|
Reference in New Issue
Block a user