Leaking information about the verdict before it’s been made is not OK.
If it WAS OK, then why would Merchan notify all the attorneys about it?
It isn’t, but it happens. All the time in the modern world. And honestly when the whole trial is on TV expecting the jury not to text anybody is kinda silly. And we declared a mistrial every time it happened we’d never finish a trial anymore. Judges tell attorneys about all kinds of stuff, and often to tell them “we’re not having a mistrial, move on”.