From 829f87a510b4d1f53d35b45abbe75359b4a27964 Mon Sep 17 00:00:00 2001 From: Mic Date: Fri, 6 Feb 2026 00:51:00 +0100 Subject: [PATCH] saving the clipboard text also in the curr_prompt.text. see #362 --- js/mzta-menus.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/mzta-menus.js b/js/mzta-menus.js index a2d50436..4d04dcaf 100644 --- a/js/mzta-menus.js +++ b/js/mzta-menus.js @@ -120,6 +120,7 @@ export class mzta_Menus { return {ok:'0'}; } msg_text.selection = clipboardText; + msg_text.text = clipboardText; } catch (e) { console.error("Clipboard read error:", e); browser.tabs.sendMessage(tabs[0].id, { command: "sendAlert", curr_tab_type: tabs[0].type, message: browser.i18n.getMessage('clipboard_read_error') });