mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-21 03:25:41 +08:00
更新快捷动作的声明
This commit is contained in:
@@ -251,12 +251,9 @@ export default {
|
||||
}
|
||||
);
|
||||
// F11 全屏
|
||||
this.rawEditor().addCommand(
|
||||
monaco.KeyCode.F11,
|
||||
() => {
|
||||
this.$emit("keyStroke", "fullscreen");
|
||||
}
|
||||
);
|
||||
this.rawEditor().addCommand(monaco.KeyCode.F11, () => {
|
||||
this.$emit("keyStroke", "fullscreen");
|
||||
});
|
||||
},
|
||||
getSelectionOrLineContent() {
|
||||
let selection = this.rawEditor().getSelection();
|
||||
|
||||
Reference in New Issue
Block a user