Text Plugin Image CSS

Hello, I need to add some margin to all images that are added with the text editor plugin. I imported many Joomla articles with images in them. I do not want this to affect images outside the text plugin. Can you help me with the CSS that only targets this specific area?

I have tried to use this but it does not seem to work.

.ba-item-text ba-item img {
margin: 10px;


This would be very helpful if I can get this to work. I can use this for all my sites.

Also, is it possible to target it based on the direction of float so I can only add the margin to the left for an image floated right, etc.?
Thank you,

Replies are visible only to logged in members with an active subscription.