This is a feature that a lot of people have wanted from the classic Editor, but for whatever reason, it has not been added yet. If it could be worked into this new editor, all sites could become much more versatile.
Essentially we need the ability to generate iterations of the URL which can link directly to an anchor point/section on a page. As with traditionally built sites, the /#[id] method should still work. It just needs a button added on the toolbar where the editor can generate and track that link.
For anyone that desperately needs this function for now, there is a workaround you can use:
-
Publish your page
-
In a browser, go to the page that contains the section you need
-
Inspect the page and locate the section that you want in the code, you should see each section listed one after another.
-
Open up the section you need, and locate the first div that has an id tag. It will look something like this:
<div id="comp-k9n6tp65bg" class="style-k9n6tpdgbg"></div>
-
Copy the id tag in between the quote marks. In this case it would be: comp-k9n6tp65bg
-
You will use this to create your new URL, by adding that tag after /# at the end of your URL. So in this case it would now look like this: www.yoursitename.com/#comp-k9n6tp65bg
-
There you have it, this link will now take you to that exact section of the page.
-
Bonus: if you don’t like what it looks like, use Bit.ly or similar to shorten it.