mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
emoji: Display emoji in messages as text as well as reactions.
Fixes #6795.
This commit is contained in:
@@ -652,6 +652,12 @@ exports.initialize = function () {
|
||||
preview_html = rendered_content;
|
||||
}
|
||||
$("#preview_content").html(preview_html);
|
||||
if (page_params.emoji_alt_code) {
|
||||
$("#preview_content").find(".emoji").replaceWith(function () {
|
||||
var text = $(this).attr("title");
|
||||
return ":" + text + ":";
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
$('#compose').on('click', '#video_link', function (e) {
|
||||
|
||||
Reference in New Issue
Block a user