OP, you are correct.
You do not swap an awful husband and allow your daughter to morph into him.
You will do her no favour if you do.
Do not feel that to keep her you need to allow yourself to be disrespected.
Far better for your daughter that you allow her huff and puff.
Model to her a strong woman, not one whom will be bullied by ANYONE.
That will be your greatest gift to her.
Spell out exactly what you expect of her.
I mean this very kindly but you need to manage what are your responsibilities and not HIS.
Your responsibilities are to yourself and her, to show her you love her, but that you have self respect and that even though you do love her, your self respect for yourself is not something you will EVER compromise.
Your ex is no longer your responsibility and his relationship with your daughter is his alone.
You need to tell her that you will not be used and abused by her or him.
He is responsible for his relationship with her, not you.
Do not get involved with it.
Children gain security from boundaries and strength, knowing who and what they can rely on.
You being firm and strong will ultimately give her security.
If she thinks she can treat you poorly, she will ultimately feel less secure.
Consideration and self respect is what children learn from their parents, in how they see us behave and conduct ourselves.
She has a shit father, she desperately needs to see that while you love her to bits, you are not someone to be fxxked about with.
THAT will help her feel centred in all of this.
I hope you understand that when things are changing and uncertain, it is knowing that you are firm, resolute and consistent, will steady things for her.
I have daughters, I know they can push buttons.
Be very very calm in your demeanor, quiet in your tone of voice, completely unemotional, and hold eye contact relentlessly.......
Her father is nothing to you now.
He has committed multiple crimes against you over the years.
You may rethink police involvement in the future.
Remember that.
Coercive control is a crime.
You could really mess with his life if you choose to.
He is a really bad man.