It's gotten better, at least. My school had modern textbooks when I was growing up, but I remember one of my middle school history teachers, who was old enough to have taught a Black school during segregation (and was, naturally, scathing about the cruelty and hypocrisy of segregation despite being a white guy), talking about the kind of things textbooks used to peddle as recently as the 90s.
He was a cool guy.