I'm working on a child theme based on Foundation. While I can keep editing custom HTML for things like Foundation's built-in accordions, it would be nice if the block editor "Advanced" panel had one little extra field for attributes below the ones for HTML anchor and Additional CSS class(es).

Can this be done in a way similar to this answer (relevant to the classic editor)?

additional field in editor panel

没有正确的解决方案

许可以下: CC-BY-SA归因
scroll top