Don’t know if this is the same thing but I occasionally got the “edit” on every page when coming in on the front end. I have a habit of checking my work from the “view page” in the backend as I go and the front end when I have finished. I realised that this was only occurring if I had not closed the edit section first.