Revert "Get selection from element context instead of using the global c...

Reverts guardian/scribe#259