diff --git a/src/js/commandline.js b/src/js/commandline.js index 2ac7695c5..e8207dd74 100644 --- a/src/js/commandline.js +++ b/src/js/commandline.js @@ -654,6 +654,19 @@ let commands = { } }, }, + { + id: "changeCustomModeText", + display: "Change custom text", + exec: () => { + if (config.mode === "custom") { + showCustomTextPopup(); + setTimeout(() => { + // Workaround to focus textarea since hideCommandLine() will focus test words + $("#customTextPopup textarea").focus(); + }, 150); + } + }, + }, ], };