feat: branch off / create from template
This commit is contained in:
1 parent
e85de92715
commit
13a995133b
7 files changed
+142
-21
No files matched your search
@@ -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')
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user