Co-parenting with your ex can make joint custody work for the children.

Children and separation or divorce
Co-parenting amicably with your ex can give your children stability and a close relationship with both parents, but rarely is it easy. Letting go of the problems of co-parent relationship may be totally full of stress. Despite many challenges however, it is possible to develop a cordial working relationship with your ex for the sake of the children. With these tips, you can stay calm, remain constant, and avoid or resolve conflicts with your ex and shared custody will work.
Co-parenting after a separation or divorce
Joint custody arrangements, especially after a bitter separation, can be exhausting and exasperating. It can be extremely difficult to get past the painful history that one may have with their ex and hard to overcome any resentment that has built up. Shared decision making, which makes you interact with each other in decisions, or just talking with someone who prefers to forget may seem an impossible task. But although co-parenting is not an easy solution, it is the best way to ensure that the needs of the children are met and they are able to maintain a close relationship with both parents.
It may be useful to start thinking about your relationship with your ex as a brand new one that is entirely built on the welfare of the children and not about either one of you. This marriage may be over, but this family is not. Do what is best for the children should be your top priority. The first step in becoming a mature, responsible co-parent is to always put the children’s needs ahead of your own.
To have a good relationship with the children of your partner’s ex is definitely a challenge. However, for the betterment of the present relationship and everyone around, the present partner must exert an effort for this to be realized.
http://www.aswdlaw.com/practice-groups/private-client-group/domestic-relations/