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’);
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’);