User blog comment:Polterpup622/I’ll explain why I got badges./@comment-5290974-20180205145604

I had a similar problem. As Xydux (another admin) said, change your preferences to edit in source mode. I almost always edit galleries in source mode anyways.