mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
add markdown to tab complete list
This commit is contained in:
parent
5e5fdb9b96
commit
5e407b44b7
1 changed files with 2 additions and 1 deletions
|
@ -352,11 +352,12 @@ module.exports = {
|
|||
},
|
||||
|
||||
getCommandList: function() {
|
||||
// Return all the commands plus /me which isn't handled like normal commands
|
||||
// Return all the commands plus /me and /markdown which aren't handled like normal commands
|
||||
var cmds = Object.keys(commands).sort().map(function(cmdKey) {
|
||||
return commands[cmdKey];
|
||||
})
|
||||
cmds.push(new Command("me", "<action>", function(){}));
|
||||
cmds.push(new Command("markdown", "<on|off>", function(){}));
|
||||
|
||||
return cmds;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue