介绍 Font Awesome 5 和 SVG 图标

I was hoping to replace a Discourse icon with a custom one. Would there be a way to register my custom icon in Discourse somewhere? ie)

register_svg_icon “my-icon” as <svg>...</svg>

then be able to

api.replaceIcon(‘heart’, ‘my-icon’);
8 个赞