How to transform Wikimarkup with emojis to ADF correctly

Norbert Tovt March 19, 2024

 

If wikimarkup contains some emojis like :wtf: and I want to transform it to adf document, it doesn't detect the emojis, so this should be like:


{
"version": 1,
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "some text "
},
{
"type": "emoji",
"attrs": {
"shortName": ":alien:",
"id": "1f47d",
"text": "👽"
}
},
{
"type": "text",
"text": " some text"
}
]
},
{
"type": "paragraph",
"content": []
}
]
}


 

 But instead it looks like this:

{
"version": 1,
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "some text👽"
},
]
}

 And all emojis are displaying incorrectly

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events