Set the correct container when selecting an anchor in editor