diff --git a/.changeset/fuzzy-bees-speak.md b/.changeset/fuzzy-bees-speak.md new file mode 100644 index 000000000..e4ea90394 --- /dev/null +++ b/.changeset/fuzzy-bees-speak.md @@ -0,0 +1,5 @@ +--- +"@headstartwp/core": patch +--- + +Pass params attr to YoutubeLiteBlock diff --git a/package-lock.json b/package-lock.json index c0855daa0..863ce1ed8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21537,7 +21537,7 @@ }, "packages/core": { "name": "@headstartwp/core", - "version": "1.4.0", + "version": "1.4.1", "license": "MIT", "dependencies": { "@justinribeiro/lite-youtube": "^1.3.1", @@ -21928,10 +21928,10 @@ }, "packages/next": { "name": "@headstartwp/next", - "version": "1.4.0", + "version": "1.4.1", "license": "MIT", "dependencies": { - "@headstartwp/core": "^1.4.0", + "@headstartwp/core": "^1.4.1", "@isaacs/ttlcache": "^1.4.1", "deepmerge": "^4.3.1", "loader-utils": "^3.2.0", @@ -22096,8 +22096,8 @@ "version": "0.2.0", "license": "GPL-2.0-or-later", "dependencies": { - "@headstartwp/core": "^1.4.0", - "@headstartwp/next": "^1.4.0", + "@headstartwp/core": "^1.4.1", + "@headstartwp/next": "^1.4.1", "@linaria/babel-preset": "^4.4.5", "@linaria/core": "^4.2.10", "@linaria/react": "^4.3.8", @@ -22125,8 +22125,8 @@ "version": "0.2.0", "license": "GPL-2.0-or-later", "dependencies": { - "@headstartwp/core": "^1.4.0", - "@headstartwp/next": "^1.4.0", + "@headstartwp/core": "^1.4.1", + "@headstartwp/next": "^1.4.1", "@linaria/babel-preset": "^4.4.5", "@linaria/core": "^4.2.10", "@linaria/react": "^4.3.8", @@ -22155,8 +22155,8 @@ "license": "GPL-2.0-or-later", "dependencies": { "@10up/next-redis-cache-provider": "^1.0.0", - "@headstartwp/core": "^1.4.0", - "@headstartwp/next": "^1.4.0", + "@headstartwp/core": "^1.4.1", + "@headstartwp/next": "^1.4.1", "@linaria/babel-preset": "^4.4.5", "@linaria/core": "^4.2.10", "@linaria/react": "^4.3.8", @@ -22184,8 +22184,8 @@ "version": "0.2.1", "license": "GPL-2.0-or-later", "dependencies": { - "@headstartwp/core": "^1.4.0", - "@headstartwp/next": "^1.4.0", + "@headstartwp/core": "^1.4.1", + "@headstartwp/next": "^1.4.1", "@linaria/babel-preset": "^4.4.5", "@linaria/core": "^4.2.10", "@linaria/react": "^4.3.8", diff --git a/packages/core/src/react/blocks/YoutubeLiteBlock.tsx b/packages/core/src/react/blocks/YoutubeLiteBlock.tsx index 13e2cdd7f..3eb004b1a 100644 --- a/packages/core/src/react/blocks/YoutubeLiteBlock.tsx +++ b/packages/core/src/react/blocks/YoutubeLiteBlock.tsx @@ -28,6 +28,7 @@ declare global { export interface YoutubeLiteBlockProps extends IBlockAttributes { src: string; title: string; + params?: string; } export interface IYoutubeLiteBlock extends IBlock {} @@ -55,10 +56,14 @@ export function YoutubeLiteBlock({ domNode }: Omit; + } + return ; }