You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Genmoji are available in every app, but they require a bit of work to render them as emoji. By default, these are inserted as images, which is not what you typically want.
We should implement logic to render Genmoji as emoji characters.
// Converting NSAttributedString to HTML
lethtmlData=try textContent.data(from:NSRange(location:0, length: textContent.length),
documentAttributes:[.documentType:NSAttributedString.DocumentType.html])
<!-- Resulting HTML--><picture><sourcesrcset="genmoji.heic" type="image/x-apple-adaptive-glyph"><imgsrc="genmoji.png" alt="dog in a spacesuit"></picture>
The text was updated successfully, but these errors were encountered:
dcalhoun
added
[Type] Enhancement
A suggestion for improvement.
[Type] Task
Issues or PRs that have been broken down into an individual action to take
and removed
[Type] Task
Issues or PRs that have been broken down into an individual action to take
labels
Feb 10, 2025
dcalhoun
changed the title
Add support for Genmoji
Add Genmoji support
Feb 19, 2025
What problem does this address?
Genmoji are available in every app, but they require a bit of work to render them as emoji. By default, these are inserted as images, which is not what you typically want.
Screenshots
References:
What is your proposed solution?
We should implement logic to render Genmoji as emoji characters.
The text was updated successfully, but these errors were encountered: