This is a problem that I and many others are working towards addressing.
"Textbooks" however, being books written to directly accompany a course, are probably not going to constitute the prevailing paradigm online - they are static and structured in a way that traditional printing required but modern technology finds burdensome.