2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Support limited formatting input in factcheck.

This commit is contained in:
John Preston
2024-05-24 11:23:27 +04:00
parent a3ef36f9f7
commit 97a5e0c6ea
16 changed files with 151 additions and 106 deletions

View File

@@ -88,7 +88,7 @@ EditInfoBox::EditInfoBox(
_field->setInstantReplaces(Ui::InstantReplaces::Default());
_field->setInstantReplacesEnabled(
Core::App().settings().replaceEmojiValue());
_field->setMarkdownReplacesEnabled(rpl::single(true));
_field->setMarkdownReplacesEnabled(true);
_field->setEditLinkCallback(
DefaultEditLinkCallback(controller->uiShow(), _field));
}