Thread:Vishkugeta/@comment-25227224-20180730201859/@comment-979971-20180730204010

You're either going to need custom headers like the ones I made: Template:H2

Or a custom table of contents template that has an edit page button on it: Template:TOC

Both are pretty complicated to create though. Alternatively you would have to use javascript to change the main edit button on the page. That would be more efficient but I don't know how to code in javascript.