moved editor markup template to editor prototype