diff --git a/packages/block-library/src/embed/icons.js b/packages/block-library/src/embed/icons.js index 2f39a61dbcea6..650b7c0bd3a90 100644 --- a/packages/block-library/src/embed/icons.js +++ b/packages/block-library/src/embed/icons.js @@ -147,3 +147,9 @@ export const embedPinterestIcon = ( ); + +export const embedWolframIcon = ( + + + +); diff --git a/packages/block-library/src/embed/variations.js b/packages/block-library/src/embed/variations.js index 681c687874cfa..0700e0177cdcf 100644 --- a/packages/block-library/src/embed/variations.js +++ b/packages/block-library/src/embed/variations.js @@ -25,6 +25,7 @@ import { embedAnimotoIcon, embedDailymotionIcon, embedPinterestIcon, + embedWolframIcon, } from './icons'; /** @typedef {import('@wordpress/blocks').WPBlockVariation} WPBlockVariation */ @@ -341,6 +342,14 @@ const variations = [ ], attributes: { providerNameSlug: 'pinterest' }, }, + { + name: 'wolfram-cloud', + title: 'Wolfram Cloud', + icon: embedWolframIcon, + description: __( 'Embed Wolfram Cloud notebook content.' ), + patterns: [ /^https?:\/\/(www\.)?wolframcloud\.com\/obj\/.+/i ], + attributes: { providerNameSlug: 'wolfram-cloud', responsive: true }, + }, ]; /**