Hi guys,
for the sake of a cleaner setup I’ve tried to build a raw blueprint for a field to extend this per use.
To give you an idea, I have the blueprint for fontsizes in fields/twblocks/type/fontsizes:
type: group
fields:
fontsize:
label:
en: Fontsize
de: Schriftgröße
type: select
options:
xs: 12
sm: 14
base: 16
lg: 18
xl: 20
This I extend in another blueprint: file/twblocks/type/fontsizedesktop like this:
type: group
fields:
fontsizedesk:
extends: fields/twblocks/type/fontsize
label:
en: Fontsize Desktop
de: Schriftgröße Desktop
width: 1/4
when:
toggleformatoptions: true
before calling the extended blueprint in a block. But even putting the extended file elsewhere as recommended by @jimbobrjames here does not work:
fontsizedesk:
extends: tabs/fontsizedesktopdefault
Also extending the “raw” blueprint at its final place doesn’t change a thing:
fontsizedesk:
extends: fields/twblocks/type/fontsize
label:
en: Fontsize Desktop
de: Schriftgröße Desktop
width: 1/4
when:
toggleformatoptions: true
I only see one field “Fontsize” with its select from the original blueprint instead of two fields “Fontsize Desktop” and “Fontsize Mobile” from their extended versions.
Does anyone have an idea?