Releases: futurepress/epub.js
Releases · futurepress/epub.js
Bug fix for contained epubs
- Fixes contained epub does not render if a book asset is not found. #99
Bug fixes for loading remote compressed epubs
- Allow Cors withCredentials
- Updated uri parsing
- Decode paths for zips per #78 (comment)
Renderer Events and Bug Fixes
- Scroll Fixed Epubs
- Pass iframe events as render events such as
book.on("renderer:keydown", func);
- Added event to pass text selection: ```book.on("renderer:selected", func);
book.useSpreads(true | false)
to switch from single to double columns- update formatting and page count after Book.setStyle() changes
- Fixed compressed onload not firing on non css links
- Fixed encoding for compressed Epubs per #42
- Override zoom keys in Reader per #9
- Added book options per #81
- Use jQuery instead of $ per #74
- Fixed Icon switching in Reader per #68
- Set left position when page hasn't changed after resize to fix #85
Reader Refactor
- New Demo Reader
- Removed previous cfi location restoring
book.goto()
andbook.gotoCfi()
can be called beforebook.renderTo()
to render a previous position- Get current page cfi with
book.getCurrentLocationCfi()
- renderer:pageChanged fires on first load
- Check EPUB Metadata Identifier before restoring JSON versions of Spine, Metadata and TOC from local storage.
- Fixed bugs with compressed epub url replacement
- Added
externalResourcesRequired='true'
to trigger SVG load event fireing
Legacy Reader
Merge pull request #79 from jkarkoszka/master prevent to go on out of ranges page