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 

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gpietrzak created an issue. See original summary.

gpietrzak’s picture

Title: Can't use plain link as CTA in paragraphs » (v 3.2) Can't use plain link as CTA in paragraphs
k.wiktorowicz’s picture

There is no check to see if value exists for this attribute

k.wiktorowicz’s picture

Corrected patch

  • k.wiktorowicz authored 7278dcd8 on 3.3.x
    Issue #3341336 by k.wiktorowicz: (v 3.2) Can't use plain link as CTA in...
sygnetica’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.