In this essay for Aeon, I tried to describe the difficult, often disturbing aspects of medieval education, the varying attitudes towards sexual and physical abuse over the ages, and the way some students flourished despite what they endured.
https://aeon.co/essays/medieval-wisdom-about-teachers-behaving-badly