feat: branch off / create from template

This commit is contained in:
NGPixel authored and Nicolas Giard committed 2020-03-01 18:25:43 -05:00
1 parent e85de92715
commit 13a995133b
7 files changed
+142 -21

No files matched your search

+1 -1
View File
@@ -474,7 +474,7 @@ export default {
mounted() {
this.$store.set('editor/editorKey', 'markdown')
if (this.mode === 'create') {
if (this.mode === 'create' && !this.$store.get('editor/content')) {
this.$store.set('editor/content', '# Header\nYour content here')
}