From 7cbd7bd95b64e06fde38dcd68935984de8f3a82f Mon Sep 17 00:00:00 2001 From: zbeyens Date: Tue, 25 May 2021 18:43:33 +0200 Subject: [PATCH] fix --- .changeset/fuzzy-donkeys-care-common.md | 5 +++++ .changeset/fuzzy-donkeys-care.md | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .changeset/fuzzy-donkeys-care-common.md diff --git a/.changeset/fuzzy-donkeys-care-common.md b/.changeset/fuzzy-donkeys-care-common.md new file mode 100644 index 0000000000..ed46c108bb --- /dev/null +++ b/.changeset/fuzzy-donkeys-care-common.md @@ -0,0 +1,5 @@ +--- +"@udecode/slate-plugins-common": patch +--- + +fix: `getLastNode` returns undefined when the editor has no children diff --git a/.changeset/fuzzy-donkeys-care.md b/.changeset/fuzzy-donkeys-care.md index 45afb5fb68..0a4d335434 100644 --- a/.changeset/fuzzy-donkeys-care.md +++ b/.changeset/fuzzy-donkeys-care.md @@ -1,5 +1,4 @@ --- -"@udecode/slate-plugins-common": patch "@udecode/slate-plugins-trailing-block": patch ---