Comments (13)
hey @sajjadrad, did you select any text? Were there any errors in the console?
from sdklauncher-ios.
yeah,I draged on screen and after selecting text I clicked on custom highlight button,but nothing happens.
Also there is no message on console.The log value is null too.
Thanks
from sdklauncher-ios.
Did you look at the xcode console or javascript console?
Did you set the annotations css url (see https://github.com/readium/readium-js-viewer/blob/develop/lib/EpubReader.js#L305 and line 318 further down).
from sdklauncher-ios.
I looked up for error in xcode console and javascript console (by safari developer).
There is no submodule with name readium-js-viewer in SDKLauncher-iOS.Is that required?Where?
from sdklauncher-ios.
Where is the Readium instantiated in the SDK Launcher? It needs to be passed an options hash that specifies where the annotations css is.
from sdklauncher-ios.
Do you means readium-sdk? Like develop branch it lives in root of SDK Launcher project.in resource folder I have readium-shared-js folder for js reader.also I searched for annotations css,I cant find that.
from sdklauncher-ios.
As I understand the readium is highlighting but there is no css style file,so It wont show the yellow highlight.Is it true?
from sdklauncher-ios.
Looks like the CSS for highlights is not specified. The second parameter into Readium initializer needs to include hash which points to the css file. Right now, when you generate a highlight, it's not visible because CSS is not specified.
from sdklauncher-ios.
I actually just recently fixed the "online cloud reader" configuration, which was causing huge page load delays because of the annotation.css HTTP 404:
readium/readium-js-viewer@a9fe543
from sdklauncher-ios.
Thanks Daniel.. I remember leaving it in a different state, where the CSS wasn't specified..
from sdklauncher-ios.
Hi all, i have the same issue and i can't see css file anywhere. Please help me find the way to fix it.Thanks!
from sdklauncher-ios.
Hi, I have fixed this in the native OS X launcher app:
Will work on iOS shortly.
from sdklauncher-ios.
Fixed in Pull Requests:
#32
readium/readium-sdk#102
(HTML injection framework now pushes annotations.css, MathJax.js, and navigator.epubReadingSystem)
from sdklauncher-ios.
Related Issues (20)
- Text selection in continuous scroll mode fails on iOS 12
- xcode project missing js and css file HOT 2
- reader not scrolling : IOS 13.x HOT 5
- 您好,如何把sdk导入到自己的项目中,我这边报错C++ requires a type specifier for all declar HOT 2
- This SDK not supported for iOS 13 but working fine in iOS 12.4.2. Please help me
- Please Provide full version HOT 2
- SDK Launcher- ios HOT 2
- Regarding exporting of annotations to our backend server. HOT 3
- ePubLibrary view with cover image HOT 3
- Errors with Book Marks HOT 5
- Swipe Navigation HOT 4
- SDKLauncher-iOS Highlight does not work on IOS HOT 24
- In iOS How to get the click on the location of the information and get the selected text string? HOT 1
- Footnotes with elementCfi containing square brackets do not navigate to correct page HOT 7
- how can we calculate total no of pages in a book in Background HOT 3
- some errors about “Platform” namespace HOT 1
- Reference Cover image From Epub HOT 6
- Request a demo that runs normally HOT 2
- How to detect user pressing on link inside the book HOT 2
- I've imported the dependencies on my project. But didn't get any clue to use those sdks. Can anyone explain how to use Redium sdks with some examples stepwise? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdklauncher-ios.