Javascript – How to get first visible character's offset in a <p> node
I have large paragraphs of text in <p> nodes in epub files and i'm displaying these on a mobile screen webview using an external library. The library allows me to flip pages to see portions of these <p> node. I…