Allow custom emoji to be loaded using its emoji shortname

XMLWordPrintable

    • 1
    • 3

      User Problem

      Currently, custom emoji is loaded based on its emoji ID - for example:

      Storage Format
      <ac:emoticon ac:name="blue-star" ac:emoji-shortname=":<emoji-name>:" ac:emoji-id="2350ae57-0eec-42dd-bc9d-1483e7d4427e" ac:emoji-fallback=":<emoji-name>:" />
      

      Due to this, if a custom emoji is deleted, it will not display correctly should it be re-uploaded. Please refer to the steps below:

      1. Create a new custom emoji named test (based on image).
        This emoji will then be stored with an ID abc
        Storage Format
        <ac:emoticon ac:name="blue-star" ac:emoji-shortname=":test:" ac:emoji-id="abc" ac:emoji-fallback=":test:" />
        
      2. Then, insert this custom emoji on a Confluence page.
      3. Next, an administrator then delete this uploaded custom emoji from https://[yourdomain].atlassian.net/admin/emoji
        From here onwards, all usages of test emoji will be broken because the custom emoji with ID abc will be deleted - the custom emoji will be rendered as :test: on Confluence page view mode
      4. Then, user created emoji named test again
        This emoji will then be stored with a new ID xyz
        Storage Format
        <ac:emoticon ac:name="blue-star" ac:emoji-shortname=":test:" ac:emoji-id="abc" ac:emoji-fallback=":test:" />
        <ac:emoticon ac:name="blue-star" ac:emoji-shortname=":test:" ac:emoji-id="xyz" ac:emoji-fallback=":test:" />
        

        The page will be rendered as follow:

        :test:

      Suggested Solutions

      To allow custom emoji to be loaded based on its emoji shortname on Confluence page load (page view mode), instead of its emoji ID.

      Current Workarounds

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Unassigned
              Reporter:
              Lauretha Rura
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: