Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Answering the Code Language prompt reverts message to plaintext #28389

Open
AndydeCleyre opened this issue Sep 10, 2024 · 0 comments
Open

Answering the Code Language prompt reverts message to plaintext #28389

AndydeCleyre opened this issue Sep 10, 2024 · 0 comments
Labels

Comments

@AndydeCleyre
Copy link
Contributor

Steps to reproduce

  1. Type some code in the message box
  2. Hit ctrl+a to select it all
  3. Hit ctrl+shift+m to make it a code block
  4. Click the empty code block header to open the Code Language prompt
  5. Type a language
  6. Either hit enter or click Save

Expected behaviour

The message should remain formatted as a code block, and the header should include the specified language name.

Actual behaviour

The message loses its code block formatting, and is as it was at the end of step 1, above.

Operating system

Ubuntu 22.04, KDE Plasma

Version of Telegram Desktop

5.5.3

Installation source

Static binary from official website

Crash ID

No response

Logs

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant