Update changelog

This commit is contained in:
Georgy Berezhnoy 2021-04-11 21:44:56 +03:00
commit 5f6447e261
2 changed files with 5 additions and 1 deletions

View file

@ -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).

View file

@ -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;