BUG Fix the anchor selector to work for internal pages.

Currently it will only default to pulling in anchors from the current
page, from the editor.
Merge pull request #3347 from mateusz/plat-61

Fix the anchor selector to load anchors from other internal pages.