Am I in the wrong here? My husband’s ex-wife

Context, The red marks are my husbands name, the green marks are my stepson’s name, and the light blue are my name. I have been married to my husband since late last year and together for about 4.5 years total. My stepson will turn 8 this month. I have been nothing but nice to her genuinely and she has repeatedly taken digs at me. What you are seeing is the boil over of me finally stopping taking her shit. Did I handle this well?