Add editor and template components