You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
@neSpecc
I replace public with get it working perfectly fine on the paragraph plugin but not for list but there is no error on the console.
is that correct result?
@neSpecc
I replace public with get it working perfectly fine on the paragraph plugin but not for list but there is no error on the console.
is that correct result?
In 2.18 release there was a mistake with adding a
public
access modifier to theblock.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 amerge
method) occurs an error:Steps to reproduce:
Backspace
Expected behavior:
Error is not thrown.
Editor.js version:
2.19
The text was updated successfully, but these errors were encountered: