Add editor directive and ability to switch themes.