AdaptiveCards icon indicating copy to clipboard operation
AdaptiveCards copied to clipboard

[Ms Teams][Adaptive Cards Textbox emojis not working]

Open priyakewlani18 opened this issue 6 years ago • 11 comments

Platform

What platform is your issue or question related to? (Delete other platforms). MsTeams

Author or host

Author

If you're an author, who are you sending cards to? MsTeams

Version of SDK

NA

Details

In Adaptive Cards Textbox, emojis are not working and showing emojis in text format while in Ms Teams , same text is converting into emojis.

: 100 : -> showing plain text and not emoji 💯 BugImage

Teams: ":100:" is converting into emojis

image

priyakewlani18 avatar Sep 15 '20 10:09 priyakewlani18

please review this issue for target Milestone, Inconsistencies & Priority upon triage.

ghost avatar Sep 15 '20 10:09 ghost

@matthidinger / @dclaux are these supposed to work? I didnt think we supported emojis natively in AdaptiveCards?

shalinijoshi19 avatar Sep 21 '20 16:09 shalinijoshi19

Hi @priyakewlani18. We have acknowledged this issue report. Please continue to follow this issue for updates/progress/questions.

ghost avatar Sep 21 '20 16:09 ghost

@priyakewlani18 can you pls share the card json you are trying to work with here ? Thanks!

shalinijoshi19 avatar Sep 24 '20 13:09 shalinijoshi19

Hello @priyakewlani18! We need some additional information from you to process this issue. Please see discussion comments above. Thanks!

ghost avatar Sep 24 '20 13:09 ghost

I have same issue

mogadanez avatar Apr 01 '21 11:04 mogadanez

sample json:

{
    "type": "AdaptiveCard",
    "body": [
        {
            "type": "ColumnSet",
            "horizontalAlignment": "Center",
            "columns": [
                {
                    "type": "Column",
                    "items": [
                        {
                            "type": "ColumnSet",
                            "horizontalAlignment": "Center",
                            "columns": [
                                {
                                    "type": "Column",
                                    "items": [
                                        {
                                            "type": "TextBlock",
                                            "text": "**AwareGO Training Bot**",
                                            "wrap": true
                                        },
                                        {
                                            "type": "TextBlock",
                                            "spacing": "None",
                                            "text": "Hi ${username} :wave:",
                                            "height": "stretch",
                                            "wrap": true
                                        },
                                        {
                                            "type": "TextBlock",
                                            "text": "Well, here you’ll receive the original, bite-sized video lessons that make learning about cybersecurity surprisingly fun :popcorn:.",
                                            "wrap": true,
                                            "isSubtle": true
                                        }
                                    ],
                                    "width": 250
                                }
                            ]
                        }
                    ],
                    "width": 100
                }
            ]
        }
    ],
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.2"
}

mogadanez avatar Apr 01 '21 22:04 mogadanez

I experience the same. Upvoting for this fix.

DeepakMohanSingh avatar Jun 12 '21 17:06 DeepakMohanSingh

Now you can add the code of emoji in adaptive cards (AC). Press 'Copy' from here and paste to AC text

aryzhkou avatar Aug 18 '21 18:08 aryzhkou

This looks to be an issue on Teams' side for replacing any text with their built-in emojis. Transferring over to them

jonmill avatar Dec 07 '21 21:12 jonmill

This issue has been copied over to Microsoft Teams repo here: https://github.com/MicrosoftDocs/msteams-docs/issues/4809

Wajeed-msft avatar Dec 07 '21 21:12 Wajeed-msft