Public school students don't have full first amendment rights. If the speech interferes with the school's ability to conduct classes, the administration can stop it. I don't know the case name, but this was established in a case with a high school principal censoring the school newspaper.