Embedded links displaying incorrectly since upgrade to 5.0

With 5.0 the default behaviour for card assets has changed.

Prior to 5.0, the default was to exclude the CSS and JS for bookmark and gallery cards provided by Ghost. From 5.0 onwards, the default behaviour is for those assets to be included in the assets served by Ghost, and I suspect conflicting CSS rules from this change may be the issue here.

To restore the same behaviour for card assets from 4.x, you can add this config to your theme’s package.json:

  "config": {
    "card_assets": {
         "exclude": ["bookmark", "gallery"]
     }
  }

If you’re using the official Wave theme (or any of the official themes), updating to the latest version should also resolve the issue. If you still see the same issue, I’ll be happy to take a closer look if you can provide a URL with an example of the behaviour you’re seeing :slightly_smiling_face:

We’re also working on adding a warning to GScan for themes that don’t have the card_assets property explicitly set.

4 Likes