Replies: 2 comments 4 replies
-
@ciokan this is a great idea and would be relatively trivial to PR. We would happily merge this. Any interest in taking a crack? Otherwise, I'm sure we can get to it! Just not sure when. But it'll be a quick one and it's a great idea. |
Beta Was this translation helpful? Give feedback.
4 replies
-
@jmikrut @ciokan has any work been started on this? If not, i'd be happy to take a crack at it :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
On the block config you have the option of setting up a image url, representative of that block. I don't think that's ideal because it forces us to hook up with express to serve files that render poorly (for an svg I had to set a height for it to even show up) or brings complications when the theme is on dark vs light, when you want different colors etc.
I think that the best solution would be a component. You guys do it with the UI field: https://payloadcms.com/docs/fields/ui This makes tools like heroicons really accessible, themable, configurable from within the client.
Beta Was this translation helpful? Give feedback.
All reactions