feat: git changes processing
This commit is contained in:
1 parent
abe5f3b25d
commit
e6f1f3add4
13 files changed
+275
-25
No files matched your search
@@ -90,4 +90,14 @@ module.exports = class Editor extends Model {
|
||||
WIKI.logger.error(err)
|
||||
}
|
||||
}
|
||||
|
||||
static async getDefaultEditor(contentType) {
|
||||
// TODO - hardcoded for now
|
||||
switch (contentType) {
|
||||
case 'markdown':
|
||||
return 'markdown'
|
||||
default:
|
||||
return 'code'
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user