static getter added to mergeble method (#1422)

* static getter added to mergable method

* build production bundle

* Changelog added
This commit is contained in:
Umang G. Patel 2020-11-10 23:34:06 +05:30 committed by GitHub
parent e477621c3b
commit b134fccd1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

2
dist/editor.js vendored

File diff suppressed because one or more lines are too long

View file

@ -2,7 +2,9 @@
### 2.19.1
- `Fix` - The problem with destroy() method [#1380](https://github.com/codex-team/editor.js/issues/1380)
- `Fix` - The problem with destroy() method [#1380](https://github.com/codex-team/editor.js/issues/1380).
- `Fix` - add getter keyword to `block.mergeable` method [#1415](https://github.com/codex-team/editor.js/issues/1415).
### 2.19

View file

@ -358,7 +358,7 @@ export default class Block {
*
* @returns {boolean}
*/
public mergeable(): boolean {
public get mergeable(): boolean {
return _.isFunction(this.tool.merge);
}