added new template attribute to configure common elements in the editor

Closes #466