I'm hoping to get some guidance on incorporating custom SVG icons into ACF Composer blocks within Sage 10.
Currently, I'm using the following approach:
public $icon = '<svg></svg>';
This method works, but it becomes cumbersome to maintain, especially when the same icon appears across multiple blocks or if the SVG code is lengthy.
Ideally, I'd like to leverage the asset directive to link these icons. Is there a supported way to achieve this within ACF Composer?
Hi,
I'm hoping to get some guidance on incorporating custom SVG icons into ACF Composer blocks within Sage 10.
Currently, I'm using the following approach:
public $icon = '<svg></svg>';
This method works, but it becomes cumbersome to maintain, especially when the same icon appears across multiple blocks or if the SVG code is lengthy.Ideally, I'd like to leverage the asset directive to link these icons. Is there a supported way to achieve this within ACF Composer?
Thanks in advance for your assistance!