In 2.18 release there was a mistake with adding a public access modifier to the block.mergeable getter.

And now, it is a public method instead of a getter. As a result, trying to press Backspace between two same blocks (that don't have a merge method) occurs an error:
Unhandled Promise Rejection: TypeError: this.tool.merge is not a function. (In 'this.tool.merge(data)', 'this.tool.merge' is undefined)
Steps to reproduce:
- Go to example.html
- Make to List blocks
- Place the caret at the beginning of the second List
- Press
Backspace
- You'll see an error
Expected behavior:
Error is not thrown.
Editor.js version:
2.19
In 2.18 release there was a mistake with adding a
publicaccess modifier to theblock.mergeablegetter.And now, it is a public method instead of a getter. As a result, trying to press
Backspacebetween two same blocks (that don't have amergemethod) occurs an error:Steps to reproduce:
BackspaceExpected behavior:
Error is not thrown.
Editor.js version:
2.19