bibi
bibi copied to clipboard
fire event on selection of text
is it possible to fire an event when some text is selected / double clicked in the epub? i've tried the standard onselect / selectionchange javascript events, but they seem to be blocked. could you please share a snippet of code on how this could be done? this would help people translate words in the epub books.
aside from the standard javascript functions, i've also tried the functions from your sML library, which is part of bibi, but neither sML.Selection.getSelectedText() nor sML.getSelection() return the text that is selected.
Has this been fixed? I need a way to get selected text in ebook
Has this been fixed? Does any one have an idea for this?