Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Steps to reproduce:
- Add a sidebar image paragraph with CTA button, remove “btn btn-primary” classes from the CTA and save the node
- Go to the saved node - you should see a plain link without additional styles
- Click “edit" again
- Find the Sidebar image paragraph and click “edit”
- Save the node (no need to change the content)
- Check the result
Actual result:
The styling of the link has been changed back to “btn btn-primary”
Expected result:
The styling of the link does not change
Comment | File | Size | Author |
---|---|---|---|
#4 | cta-in-paragraphs-add-default-only-if-value-not-isset.patch | 758 bytes | k.wiktorowicz |
Comments
Comment #2
gpietrzakComment #3
k.wiktorowicz CreditAttribution: k.wiktorowicz at Droptica commentedThere is no check to see if value exists for this attribute
Comment #4
k.wiktorowicz CreditAttribution: k.wiktorowicz at Droptica commentedCorrected patch
Comment #6
sygnetica CreditAttribution: sygnetica at Droptica commented