- πΊπΈUnited States jive01
came here for the same reason. I need to use a token for a elements field class but it looks like tokens are not supported?
- π©πͺGermany Anybody Porta Westfalica
Token support is not a bad idea, but tbh we never needed it. So feel free to implement this as optional feature in a submodule here as merge request. Thanks! :)
Are you aware of https://www.drupal.org/project/ui_styles_paragraphs β ?
You don't have to switch to the whole UI Styles ecosystem to use this, and it's a really great approach.
If I remember correctly, you are able to define defaults in the yml, and while the individual Paragraph instance has not overridden the style, you are able to update the default value globally.
Sure, it's not at field level, it's set on the paragraph itself, but this is more common practice.
- π¬π§United Kingdom SirClickALot Somerset
Thanks thomas.frobieter β , I wasn't aware of that one and I will take a good look at it now.
- π©πͺGermany Anybody Porta Westfalica
If anyone is interested in this feature, please provde a MR to review.