posted by Me .
Is it really wrong to write dialogue like this: ["Hey," I said, patting her on the head.] I read somewhere that you're not technically supposed to add an action like that with a speech verb.
I don't see anything wrong with it. But check back here later or tomorrow to see if another English teacher has a different point of view.
I've seen dialog written that all the time. There's nothing wrong with it. In fact, I think it adds interest, knowing what the speaker's action is, as well as his/her words!