diff --git a/src/js/commandline.js b/src/js/commandline.js index e329fef24..e62100451 100644 --- a/src/js/commandline.js +++ b/src/js/commandline.js @@ -647,6 +647,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); + } + }, + }, ], };