Skip to content

Conversation

@4RH1T3CT0R7
Copy link

@4RH1T3CT0R7 4RH1T3CT0R7 commented Jan 6, 2026

Problem: When composing a message with media/files, the button to convert quotes to "expandable quotes" was missing from the caption field, even though it works in the regular message input.

Root Cause: The caption field used a style (boxTextStyle via defaultInputField) that had an empty blockquote configuration with no expand/collapse icons. The main message input uses historyTextStyle which has properly configured blockquote icons.

Fix: Added style: historyTextStyle; to defaultComposeFilesField in Telegram/SourceFiles/chat_helpers/chat_helpers.style:1436.

This one-line change affects all caption fields that use this style:

  • SendFilesBox - Caption when sending files/media
  • EditCaptionBox - Editing captions on existing media
  • SendGifWithCaptionBox - GIF captions
  • Stories caption field - Inherits from the same style

fix #29530

@CLAassistant
Copy link

CLAassistant commented Jan 6, 2026

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The button to create Expandable Quote is missing from "caption" field when sending media or files

2 participants