saving the clipboard text also in the curr_prompt.text. see #362

This commit is contained in:
Mic 2026-02-06 00:51:00 +01:00
parent 6bbe521e12
commit 829f87a510

View file

@ -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') });