druid icon indicating copy to clipboard operation
druid copied to clipboard

How to display emoji in Rich Text

Open cenullum opened this issue 3 months ago • 3 comments

Image Image

how can I use emoji? I attached noto sans

cenullum avatar Sep 13 '25 16:09 cenullum

Hello! Emoji would be a part of the font if you want to display it or use IMG tag instead (I'm using images instead of inside font)

Insality avatar Sep 23 '25 13:09 Insality

What is IMG tag?

cenullum avatar Sep 27 '25 10:09 cenullum

Here is example: https://insality.github.io/druid/?example=ui_example_rich_text_tags

Here is code: https://github.com/Insality/druid/blob/master/example/examples/basic/rich_text/rich_text_tags.lua

Tags are "Hello, I'm<img=druid_example:icon_cross,32/>"

First is atlas name in this GUI, second is a image name. And after a comma the max height afaik

Insality avatar Sep 27 '25 11:09 Insality