kotlin-toolkit
kotlin-toolkit copied to clipboard
Refactor Readium CSS injection
There's a good way to deal with that issue as well:
- implement both APIs and configuration files for "injectables"
- default to Readium CSS and Glue JS through these APIs
This would make it possible to override this behavior while making things easy enough for implementers interested in using our defaults.
The Kotlin streamer is also used by folks at TEA and CodeToArt for example and in their case, I don't think that they need our CSS/JS defaults.
Originally posted by @HadrienGardeur in https://github.com/readium/r2-streamer-kotlin/pull/38#issuecomment-434727341
Related issue https://github.com/readium/kotlin-toolkit/issues/149