Use relative paths to handle component icons - #823
Conversation
|
I'm not sure about that. this PR would limit the ability to use custom icons 🤔 |
|
Actually it unlocks the ability to use custom icons by ability to define icon base name (ie. However developer won't be able to define custom icons which are outside |
|
I think a compromise would be to introduce a pattern like |
|
You mean by adding a system path, that would be used as icons directory? |
|
I think adding new path for icons (so it's possile to use icons from outside of In latest commit I've changed paths handling so it's working with icons in similar way how collection module is:
Update: Ah, I forgot that the @aheinze How can one use custom icons now? I didn't know it's possible. |
…ssets/media/icons'" This reverts commit f519ac0.
This makes components use base name as an icon, instead of full URL.
Required for agentejo/LayoutComponents#1