This looks like primary herpes simplex. She might have gotten it from touching the mouth of someone with a cold sore. I recommend culturing for herpes and starting treatment with an antiviral medication like acyclovir. I assume that bacterial cultures have already been performed and child started on oral antibacterial antibiotics. If it is herpes, it should heal without incident, though it may recur in mild form from time to time.
Best.
Dr. Rockoff