GitbookIO / markup-it

JavaScript library to parse and serialize markup content (Markdown and HTML)
270 stars 49 forks source link

Text.getRanges method is deprecated in slatejs #90

Closed ChongShao closed 6 years ago

ChongShao commented 6 years ago

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.

SamyPesse commented 6 years ago

Fixed by #94