diff --git a/src/addons/addons/editor-extra-keys/_manifest_entry.js b/src/addons/addons/editor-extra-keys/_manifest_entry.js index f989eaeb7b5..4cd03f2d986 100644 --- a/src/addons/addons/editor-extra-keys/_manifest_entry.js +++ b/src/addons/addons/editor-extra-keys/_manifest_entry.js @@ -50,6 +50,13 @@ const manifest = { "id": "twKeys", "type": "boolean", "default": false + }, + { + "dynamic": true, + "name": "🐌", + "id": "snailKey", + "type": "boolean", + "default": false } ], "userscripts": [ diff --git a/src/addons/addons/editor-extra-keys/userscript.js b/src/addons/addons/editor-extra-keys/userscript.js index 131a597b938..e3b86160b3f 100644 --- a/src/addons/addons/editor-extra-keys/userscript.js +++ b/src/addons/addons/editor-extra-keys/userscript.js @@ -74,6 +74,13 @@ export default async function ({ addon, msg }) { ] ); } + if (addon.settings.get("snailKey")) { + keys.push( + ...[ + ["🐌", "snail"], + ] + ); + } } return keys; }