mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
Added keyboard shortcut for exit button, and added the option to the settings.ts file.
This commit is contained in:
parent
2540c2a685
commit
1e5b302a79
4 changed files with 8 additions and 3 deletions
|
@ -290,6 +290,7 @@
|
|||
"cmdShiftC": "${PAD_SHORTCUTS_ENABLED_CMD_SHIFT_C:true}", /* clear authorship */
|
||||
"cmdH": "${PAD_SHORTCUTS_ENABLED_CMD_H:true}", /* backspace */
|
||||
"ctrlHome": "${PAD_SHORTCUTS_ENABLED_CTRL_HOME:true}", /* scroll to top of pad */
|
||||
"cmdEsc": "${PAD_SHORTCUTS_ENABLED_CMD_ESC:true}", /* Exit pad and go back to home */
|
||||
"pageUp": "${PAD_SHORTCUTS_ENABLED_PAGE_UP:true}",
|
||||
"pageDown": "${PAD_SHORTCUTS_ENABLED_PAGE_DOWN:true}"
|
||||
},
|
||||
|
@ -643,7 +644,7 @@
|
|||
"right": [
|
||||
["importexport", "timeslider", "savedrevision"],
|
||||
["settings", "embed"],
|
||||
["showusers", "home"]
|
||||
["showusers", "gohome"]
|
||||
],
|
||||
"timeslider": [
|
||||
["timeslider_export", "timeslider_returnToPad"]
|
||||
|
|
|
@ -275,6 +275,7 @@
|
|||
"cmdShiftC": true, /* clear authorship */
|
||||
"cmdH": true, /* backspace */
|
||||
"ctrlHome": true, /* scroll to top of pad */
|
||||
"cmdEsc": true, /* Exit pad and go back to home */
|
||||
"pageUp": true,
|
||||
"pageDown": true
|
||||
},
|
||||
|
@ -642,7 +643,7 @@
|
|||
"right": [
|
||||
["importexport", "timeslider", "savedrevision"],
|
||||
["settings", "embed"],
|
||||
["showusers", "home"]
|
||||
["showusers", "gohome"]
|
||||
],
|
||||
"timeslider": [
|
||||
["timeslider_export", "timeslider_returnToPad"]
|
||||
|
|
|
@ -54,6 +54,8 @@
|
|||
"pad.toolbar.settings.title": "Settings",
|
||||
"pad.toolbar.embed.title": "Share and Embed this pad",
|
||||
"pad.toolbar.showusers.title": "Show the users on this pad",
|
||||
"pad.toolbar.gohome.title": "Go back to home page",
|
||||
|
||||
|
||||
"pad.colorpicker.save": "Save",
|
||||
"pad.colorpicker.cancel": "Cancel",
|
||||
|
|
|
@ -229,6 +229,7 @@ exports.padShortcutEnabled = {
|
|||
cmdShiftC: true,
|
||||
cmdH: true,
|
||||
ctrlHome: true,
|
||||
cmdEsc: true,
|
||||
pageUp: true,
|
||||
pageDown: true,
|
||||
};
|
||||
|
@ -246,7 +247,7 @@ exports.toolbar = {
|
|||
right: [
|
||||
['importexport', 'timeslider', 'savedrevision'],
|
||||
['settings', 'embed'],
|
||||
['showusers'],
|
||||
['showusers', 'gohome'],
|
||||
],
|
||||
timeslider: [
|
||||
['timeslider_export', 'timeslider_settings', 'timeslider_returnToPad'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue