expose replaceText in preload

This commit is contained in:
CREDO23 2026-03-26 20:10:10 +02:00
parent 6597649fd1
commit f931b4cf9d

View file

@ -18,4 +18,5 @@ contextBridge.exposeInMainWorld('electronAPI', {
};
},
getQuickAskText: () => ipcRenderer.invoke(IPC_CHANNELS.QUICK_ASK_TEXT),
replaceText: (text: string) => ipcRenderer.invoke(IPC_CHANNELS.REPLACE_TEXT, text),
});