mirror of
https://github.com/codex-team/editor.js
synced 2024-06-08 00:42:31 +02:00
static getter added to mergeble method (#1422)
* static getter added to mergable method * build production bundle * Changelog added
This commit is contained in:
parent
e477621c3b
commit
b134fccd1d
2
dist/editor.js
vendored
2
dist/editor.js
vendored
File diff suppressed because one or more lines are too long
|
@ -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
|
||||
|
||||
|
|
|
@ -358,7 +358,7 @@ export default class Block {
|
|||
*
|
||||
* @returns {boolean}
|
||||
*/
|
||||
public mergeable(): boolean {
|
||||
public get mergeable(): boolean {
|
||||
return _.isFunction(this.tool.merge);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue