Hi,
I need to display a lot of pixel values in a custom block that allows users to upload different images for different viewport sizes and layout contexts. To display them more orderly, I decided to use tables inside an info-field:
I was really happy to see that I can add a Markdown formatted table to the info-field in a blueprint! And I’d love to see these tables formatted more nicely in the Panel. Here is the YAML for the table above:
I’m not sure if there is anything I can do about this, short of writing a plugin to inject some custom CSS into the Panel or kind of hacking my CSS into the markdown in the info field. Is there a way to make this table look better, or is this feature request to support tabled in info-fields?
It is also possible to integrate a structure field into a custom block.
Or have I not understood the requirement correctly?
I have just integrated it into my table block:
Exactly, the content of that field needs to be stored somewhere to work as info for every block of that type. So I think the info field is the better (and probably only feasible) option, and it stands out as information, rather than content that is disabled.