Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Block Icon #265

Closed
Tartamata opened this issue Jul 12, 2024 · 2 comments
Closed

Custom Block Icon #265

Tartamata opened this issue Jul 12, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@Tartamata
Copy link

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!

@Log1x
Copy link
Owner

Log1x commented Jul 12, 2024

Hey! I'll be sure to add support for this in ACF Composer v4. No ETA yet, though.

@Log1x Log1x added the enhancement New feature or request label Jul 12, 2024
@Log1x Log1x closed this as completed in c9402d4 Aug 12, 2024
@Log1x
Copy link
Owner

Log1x commented Aug 12, 2024

Support for this is added. Check #277 for an example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants