Not true. You can legally battle the principal. I’m not a first amendment lunatic, but it is true that the school itself cannot endorse a candidate. However, student organizations can. This is protected under freedom of speech. The general rule is that school newspapers represent the voice of the students and not the district.