readium / kotlin-toolkit

A toolkit for ebooks, audiobooks and comics written in Kotlin
https://readium.org/kotlin-toolkit
BSD 3-Clause "New" or "Revised" License
176 stars 75 forks source link

Refactor Readium CSS injection #198

Open aferditamuriqi opened 5 years ago

aferditamuriqi commented 5 years ago

There's a good way to deal with that issue as well:

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

mickael-menu commented 3 years ago

Related issue https://github.com/readium/kotlin-toolkit/issues/149