Ghost/ghost/oembed-service
Sag d0d0783837
🐛 Fixed pasting product URLs into the editor (#20565)
fixes https://linear.app/tryghost/issue/ENG-1215

- when pasting URLs that return `type: link` from the oembed service, we
now fallback to using a Bookmark card
- previously, this would render a plain link in the editor
- example product URL with `type: link`:
https://indiebeer.co.uk/products/terra-tempo-vinicius-red-wine-ba-wild-ale-with-mango-pineapple-honeydew-melon-and-banana-750ml-7
2024-07-09 18:28:56 +02:00
..
lib 🐛 Fixed pasting product URLs into the editor (#20565) 2024-07-09 18:28:56 +02:00
test 🐛 Fixed pasting product URLs into the editor (#20565) 2024-07-09 18:28:56 +02:00
.eslintrc.js Extracted oembed service to separate package 2022-08-15 10:07:06 +02:00
index.js Added eslint rule for file naming convention 2023-05-09 12:34:34 -04:00
package.json Update metascraper 2024-07-02 15:57:06 +00:00
README.md Extracted oembed service to separate package 2022-08-15 10:07:06 +02:00

Oembed Service

Oembed service for Ghost

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests