Remove indent/outdent key bindings clashing with browser forward/backward
This commit is contained in:
@@ -397,8 +397,8 @@ export function registerEditorCommands(
|
||||
});
|
||||
hook.registerCommand({
|
||||
name: "Editor: Indent",
|
||||
key: ["Ctrl-]", "Tab"],
|
||||
mac: ["Cmd-]", "Tab"],
|
||||
key: "Tab",
|
||||
mac: "Tab",
|
||||
requireMode: "rw",
|
||||
requireEditor: "page",
|
||||
run: async () => {
|
||||
@@ -411,7 +411,7 @@ export function registerEditorCommands(
|
||||
hook.registerCommand({
|
||||
name: "Editor: Outdent",
|
||||
key: "Shift-Tab",
|
||||
mac: ["Cmd-[", "Shift-Tab"],
|
||||
mac: "Shift-Tab",
|
||||
requireMode: "rw",
|
||||
requireEditor: "page",
|
||||
run: async () => {
|
||||
|
||||
Reference in New Issue
Block a user