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;