Text editor integration

Text editor integration is complete. Respective views, controllers and spec files updated. See commit history for more deets.