Describe the bug
Pasting data from multiple Excel cells into the Hermes Desktop composer
inserts literal tab characters (\t) instead of spaces. In the
contenteditable div these tabs render as uneven column gaps instead of
readable text.
Steps to reproduce
- Open Hermes Desktop
- In Excel, copy 3 cells in one row (e.g.
FEERUM | 2026-06-05 | 17,95 fp5_bear3)
- Paste (Ctrl+V) into the composer
- Text appears with tab characters between values
Expected behavior
Tabs should be replaced with spaces so pasted data reads as a clean,
single line of text.
Root cause
apps/desktop/src/app/chat/composer/index.tsx lines 492-507:
const pastedText = event.clipboardData.getData('text').trim() // Excel provides data with \t
// ...
document.execCommand('insertText', false, pastedText) // inserts with tabs intact
Missing .replace(/\t/g, ' ') after .trim().
Fix
const pastedText = event.clipboardData.getData('text').trim()
.replace(/\t/g, ' ')
## Author
Code by **Austin Pickett** (pickett.austin@gmail.com).
Describe the bug
Pasting data from multiple Excel cells into the Hermes Desktop composer
inserts literal tab characters (
\t) instead of spaces. In thecontenteditable div these tabs render as uneven column gaps instead of
readable text.
Steps to reproduce
FEERUM | 2026-06-05 | 17,95 fp5_bear3)Expected behavior
Tabs should be replaced with spaces so pasted data reads as a clean,
single line of text.
Root cause
apps/desktop/src/app/chat/composer/index.tsxlines 492-507: