Skip to content

Commit cf878a0

Browse files
committed
Updated documentation
1 parent 5594903 commit cf878a0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ If you need to sync your model with ParagraphTextStorage content, set the paragr
3232
yourModel.remove(at: index)
3333

3434
case .editedParagraph(index: let index, descriptor: let paragraphDescriptor):
35-
guard !yourModel.isEmpty else {
36-
yourModel.append(paragraphDescriptor.text)
37-
continue
38-
}
3935
yourModel[index] = paragraphDescriptor.text
4036
}
4137
}

0 commit comments

Comments
 (0)