After he stopped texting last night he said some sarcastic remarks about him being a horrible abusive boyfriend. As if I made all this up. Yes dear, you have been.
Allowing him to continue to text you, berate you and abuse you is like getting hit by a bus, stumbling to your feet again so that it can hit you again.
No contact = no new hurts.
Doesn’t matter that you work with him, keep work on a professional level and keep your personal stuff out of the office.