First try at templating editor