mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 01:17:18 +00:00
feature(edit) add save on F2
This commit is contained in:
parent
a13363f51a
commit
331585aae8
1 changed files with 6 additions and 0 deletions
|
|
@ -139,6 +139,12 @@ var CloudCmd, Util, DOM, CloudFunc, ace, DiffProto, diff_match_patch;
|
|||
exec : save
|
||||
});
|
||||
|
||||
Ace.commands.addCommand({
|
||||
name : 'saveMC',
|
||||
bindKey : { win: 'F2', mac: 'F2' },
|
||||
exec : save
|
||||
});
|
||||
|
||||
ace.require('ace/ext/language_tools');
|
||||
Modelist = ace.require('ace/ext/modelist');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue