From 5f6447e2611aef20a4e82a7d8cdb8ea0d91e4d91 Mon Sep 17 00:00:00 2001 From: Georgy Berezhnoy Date: Sun, 11 Apr 2021 21:44:56 +0300 Subject: [PATCH] Update changelog --- docs/CHANGELOG.md | 4 ++++ test/cypress/tests/modules/Tools.spec.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 14571e87..0b37a7fe 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +### 2.20.2 + +- `Fix` — Append default Tunes if user tunes are provided for Block Tool [#1640](https://github.com/codex-team/editor.js/issues/1640) + ### 2.20.1 - `Fix` - Create a new block when clicked at the bottom [#1588](https://github.com/codex-team/editor.js/issues/1588). diff --git a/test/cypress/tests/modules/Tools.spec.ts b/test/cypress/tests/modules/Tools.spec.ts index ff57b6a5..361ce265 100644 --- a/test/cypress/tests/modules/Tools.spec.ts +++ b/test/cypress/tests/modules/Tools.spec.ts @@ -205,7 +205,7 @@ describe('Tools module', () => { }); it('Block Tools should contain default tunes', () => { - let tool = module.blockTools.get('blockTool'); + const tool = module.blockTools.get('blockTool'); expect(tool.tunes.has('deleteTune')).to.be.true; expect(tool.tunes.has('moveUpTune')).to.be.true;