From ec569f998187ae4355c7531a4993387bf444349a Mon Sep 17 00:00:00 2001 From: Peter Savchenko Date: Wed, 20 Sep 2023 11:07:25 +0300 Subject: [PATCH] fix(toolbar): layout shrink after blocks removing (#2484) --- docs/CHANGELOG.md | 3 + index.html | 2 + src/codex.ts | 6 ++ src/components/modules/api/tooltip.ts | 21 +--- src/components/modules/caret.ts | 13 +-- src/components/modules/toolbar/index.ts | 40 ++++---- src/components/modules/toolbar/inline.ts | 119 ++++++++++++----------- src/components/modules/ui.ts | 14 ++- src/components/utils/tooltip.ts | 101 ++++++++++--------- 9 files changed, 173 insertions(+), 146 deletions(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index c4bee883..441c58bf 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -3,6 +3,9 @@ ### 2.29.0 - `Fix` — Passing an empty array via initial data or `blocks.render()` won't break the editor +- `Fix` — Layout did not shrink when a large document cleared in Chrome +- `Fix` — Multiple Tooltip elements creation fixed +- `Fix` — When the focusing Block is out of the viewport, the page will be scrolled. ### 2.28.0 diff --git a/index.html b/index.html index 03037f39..31b8c2b8 100644 --- a/index.html +++ b/index.html @@ -98,6 +98,8 @@