Update editor.js

Templates for tt2, http://template-toolkit.org