EditorView.getTemplate works - needs review because I am not sure if it is ok a promise is initially returned