GitbookIO/markup-it

Text.getRanges method is deprecated in slatejs

ChongShao opened this issue · 1 comments

console will throw an error : Uncaught TypeError: text.getRanges is not a function

The Text.getRanges() method is now Text.getLeaves(), please update the method.

Fixed by #94