You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently _graphic properties are defined for each plugin schema e.g. src, alt and attribution. Can these exist in a single schema instead of duplicating across plugin schemas? e.g content schema.
Plugins using the jsx image template support all image properties but not all properties exist within the schema. For example, all images support multi device sources however schemas only support the initial sources the plugin was developed to support. GMCQ supports small and large, whilst Accordion only supports src.
If we wanted to support all image source properties within the AAT, we'd currently have to add them to each plugin schema. I'd be interested to hear peoples thoughts and ideas on this.
Sounds like a good idea, keeps everything consistent and easy to manage with it being in one place. We currently $merge the schemas but presumably we could just $ref the image schema where needed.
There are instances where a single image schema would not fit. The image.jsx is a series of use-cases all bound together, it isn't necessary to use all of its features in every situation. Such as attribution in boxmenu. It may be that we need a couple/few variations of image.
Subject of the issue
Currently
_graphic
properties are defined for each plugin schema e.g.src
,alt
andattribution
. Can these exist in a single schema instead of duplicating across plugin schemas? e.g content schema.Plugins using the jsx image template support all image properties but not all properties exist within the schema. For example, all images support multi device sources however schemas only support the initial sources the plugin was developed to support. GMCQ supports
small
andlarge
, whilst Accordion only supportssrc
.If we wanted to support all image source properties within the AAT, we'd currently have to add them to each plugin schema. I'd be interested to hear peoples thoughts and ideas on this.
Relates to Menu item support for responsive image sources PR.
The text was updated successfully, but these errors were encountered: