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
CFI generated by reader.plugins.highlights.addSelectionHighlight() should pass the isRangeCfi() checking.
Observed behaviour
A sample CFI generated by the plugin function addSelectionHighlight() looks like /4,/64/1:433,/66/1:10 when the selection spanning across paragraphs. When the same CFI is fed into Readium's reader.getDomRangeFromRangeCfi() function, it failed the validation at cfi_interpreter.js's isRangeCfi() function.
This issue is a Bug
Related issue(s) and/or pull request(s)
None
Expected Behaviour
CFI generated by reader.plugins.highlights.addSelectionHighlight() should pass the isRangeCfi() checking.
Observed behaviour
A sample CFI generated by the plugin function addSelectionHighlight() looks like /4,/64/1:433,/66/1:10 when the selection spanning across paragraphs. When the same CFI is fed into Readium's reader.getDomRangeFromRangeCfi() function, it failed the validation at cfi_interpreter.js's isRangeCfi() function.
Test file(s)
The epub file with no image downloaded from http://www.gutenberg.org/ebooks/271
Product
Readium JS and Readium JS highlight plugin.
On Linux.
The text was updated successfully, but these errors were encountered: