diff --git a/CHANGELOG.md b/CHANGELOG.md index b3a4b172..0a6c79dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -87,4 +87,7 @@ * Update TextInputConfiguration autocorrect to true in stable branch. ## [0.2.11] -* Fix static analysis error. \ No newline at end of file +* Fix static analysis error. + +## [0.2.12] +* Support placeholder. \ No newline at end of file diff --git a/lib/models/documents/document.dart b/lib/models/documents/document.dart index f41ee0bd..1573f9af 100644 --- a/lib/models/documents/document.dart +++ b/lib/models/documents/document.dart @@ -249,7 +249,9 @@ class Document { } Delta delta = node.toDelta(); - return delta.length == 1 && delta.first.data == '\n' && delta.first.key == 'insert'; + return delta.length == 1 && + delta.first.data == '\n' && + delta.first.key == 'insert'; } }