Someone has said something offensive online.
You could remove them (or their post).
You could retort, try to offend them back, and get others to join in mocking them?
Or you could drop them a quiet line and explain “although you understand they didn’t mean to offend, some people are upset by what was posted because [reason]”