WordPress adding in anchor elements when I save a page in html editor

I don’t remember which one, but there is probably a conflict with tone of your plugins. I had the same issue in the past.

Deactivate all of you plugins, then go through and reactivate them one by one.