When I copy code (or any text that looks like code) from external sources and paste it into a chat, Telegram automatically converts it into a monospace code block. There is no way to paste it as regular formatted text
Steps to reproduce
Copy any code snippet (or text containing indentation, special characters, etc.) from IDE (jetbrains at least).
Go to any Telegram chat.
Paste the text (Ctrl + V).
The text is automatically turned into a code block (monospace/preformatted).
Expected behavior:
There should be an option to paste text without forcing code block formatting — for example:
Support for "Paste without formatting" (Ctrl + Shift + V)
A context menu option when pasting
Setting to disable automatic code detection on paste
Current workaround (very inconvenient):
I have to first paste the text into a plain text editor (Notepad), copy it again, and only then paste into Telegram.
Additional info:
Ctrl + Shift + V does not work (nothing is happen).
This started after one of the recent updates.
Can you please check that pasting by CTRL + SHIFT + V works by pasting without formatting?
Serhii Inak 🇺🇦
sorry, it works
Status changed to Closed
Volodymyr
I found the reason why Ctrl + Shift + V doesn't work for me. The shortcut only works when the keyboard layout is set to English. On Ukrainian or Russian layouts it does nothing. It looks like Telegram is listening to the character produced by the key combination instead of using the key code. Because of this, the "Paste without formatting" shortcut is broken for millions of users who don't use QWERTY English as their main layout.
The shortcut only works when the keyboard layout is set to English. On Ukrainian or Russian layouts it does nothing.
It looks like Telegram is listening to the character produced by the key combination instead of using the key code. Because of this, the "Paste without formatting" shortcut is broken for millions of users who don't use QWERTY English as their main layout.