Trump’s deleted social media post was part of a pattern in which he publicly excoriated those involved in the numerous cases against him to undermine the integrity of the judicial system. Any other citizen would've been more severely punished by now, so a gag order will hopefully stop the attacks and lessen the risk of one of Trump’s supporters fulfilling the former president’s urges for violence.
Trump has the same rights as every other citizen to call out bias and corruption, particularly when it could lead to the loss of many of his business interests. This clerk is a dyed-in-the-wool Democrat who is overwhelmingly against Trump. This case is a witch hunt that originated with a Democratic Attorney General who was determined to go after Trump, and it seems he'll never get a fair shake.