From 3606e7617dcc5ece2c03b1d2292f44b05024037d Mon Sep 17 00:00:00 2001 From: li3317 Date: Sat, 20 Feb 2021 22:36:42 -0500 Subject: [PATCH] bump version 0.2.12 --- CHANGELOG.md | 5 ++++- lib/models/documents/document.dart | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) 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'; } }