From 24cb1472113a135f9c7ef73553f37e25a789deac Mon Sep 17 00:00:00 2001 From: shail-mehta Date: Sat, 1 Feb 2025 11:12:08 +0530 Subject: [PATCH 1/5] Changed Document Order --- packages/block-editor/src/components/inner-blocks/index.js | 4 ++-- .../src/components/inner-blocks/index.native.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/block-editor/src/components/inner-blocks/index.js b/packages/block-editor/src/components/inner-blocks/index.js index ae587720278200..58faf9f9a34e1a 100644 --- a/packages/block-editor/src/components/inner-blocks/index.js +++ b/packages/block-editor/src/components/inner-blocks/index.js @@ -174,11 +174,11 @@ const ForwardedInnerBlocks = forwardRef( ( props, ref ) => { * returns. Optionally, you can also pass any other props through this hook, and * they will be merged and returned. * + * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/inner-blocks/README.md + * * @param {Object} props Optional. Props to pass to the element. Must contain * the ref if one is defined. * @param {Object} options Optional. Inner blocks options. - * - * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/inner-blocks/README.md */ export function useInnerBlocksProps( props = {}, options = {} ) { const { diff --git a/packages/block-editor/src/components/inner-blocks/index.native.js b/packages/block-editor/src/components/inner-blocks/index.native.js index 1398a5abd51e4b..a4be76435b381b 100644 --- a/packages/block-editor/src/components/inner-blocks/index.native.js +++ b/packages/block-editor/src/components/inner-blocks/index.native.js @@ -35,11 +35,11 @@ import { MAX_NESTING_DEPTH } from './constants'; * returns. Optionally, you can also pass any other props through this hook, and * they will be merged and returned. * + * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/inner-blocks/README.md + * * @param {Object} props Optional. Props to pass to the element. Must contain * the ref if one is defined. - * @param {Object} options Optional. Inner blocks options. - * - * @see https://github.com/WordPress/gutenberg/blob/master/packages/block-editor/src/components/inner-blocks/README.md + * @param {Object} options Optional. Inner blocks options. */ export function useInnerBlocksProps( props = {}, options = {} ) { const fallbackRef = useRef(); From c5f0de694fe0c7055a5bb9c90246d39d67e8ecbc Mon Sep 17 00:00:00 2001 From: shail-mehta Date: Sat, 1 Feb 2025 11:35:42 +0530 Subject: [PATCH 2/5] fixed lint issue --- packages/block-editor/src/components/inner-blocks/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-editor/src/components/inner-blocks/index.js b/packages/block-editor/src/components/inner-blocks/index.js index 58faf9f9a34e1a..4110452ab2f6f4 100644 --- a/packages/block-editor/src/components/inner-blocks/index.js +++ b/packages/block-editor/src/components/inner-blocks/index.js @@ -177,7 +177,7 @@ const ForwardedInnerBlocks = forwardRef( ( props, ref ) => { * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/inner-blocks/README.md * * @param {Object} props Optional. Props to pass to the element. Must contain - * the ref if one is defined. + * the ref if one is defined. * @param {Object} options Optional. Inner blocks options. */ export function useInnerBlocksProps( props = {}, options = {} ) { From 3495141dc44df708390e71f3675b1f418b2cafbc Mon Sep 17 00:00:00 2001 From: shail-mehta Date: Sat, 1 Feb 2025 11:37:51 +0530 Subject: [PATCH 3/5] fixed lint issue --- packages/block-editor/src/components/inner-blocks/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-editor/src/components/inner-blocks/index.js b/packages/block-editor/src/components/inner-blocks/index.js index 4110452ab2f6f4..bc0aa70286b117 100644 --- a/packages/block-editor/src/components/inner-blocks/index.js +++ b/packages/block-editor/src/components/inner-blocks/index.js @@ -177,7 +177,7 @@ const ForwardedInnerBlocks = forwardRef( ( props, ref ) => { * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/inner-blocks/README.md * * @param {Object} props Optional. Props to pass to the element. Must contain - * the ref if one is defined. + * the ref if one is defined. * @param {Object} options Optional. Inner blocks options. */ export function useInnerBlocksProps( props = {}, options = {} ) { From 65822b296447154c0ab92a3da3b6724d362d1b31 Mon Sep 17 00:00:00 2001 From: shail-mehta Date: Sat, 1 Feb 2025 11:38:25 +0530 Subject: [PATCH 4/5] fixed lint issue --- packages/block-editor/src/components/inner-blocks/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-editor/src/components/inner-blocks/index.js b/packages/block-editor/src/components/inner-blocks/index.js index bc0aa70286b117..58faf9f9a34e1a 100644 --- a/packages/block-editor/src/components/inner-blocks/index.js +++ b/packages/block-editor/src/components/inner-blocks/index.js @@ -177,7 +177,7 @@ const ForwardedInnerBlocks = forwardRef( ( props, ref ) => { * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/inner-blocks/README.md * * @param {Object} props Optional. Props to pass to the element. Must contain - * the ref if one is defined. + * the ref if one is defined. * @param {Object} options Optional. Inner blocks options. */ export function useInnerBlocksProps( props = {}, options = {} ) { From 7eeeba6474ba6f30929238cbb1e8564c7b497f02 Mon Sep 17 00:00:00 2001 From: shail-mehta Date: Sat, 1 Feb 2025 11:45:41 +0530 Subject: [PATCH 5/5] fixed lint issue in index.native.js --- .../block-editor/src/components/inner-blocks/index.native.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-editor/src/components/inner-blocks/index.native.js b/packages/block-editor/src/components/inner-blocks/index.native.js index a4be76435b381b..635c44d2e085c5 100644 --- a/packages/block-editor/src/components/inner-blocks/index.native.js +++ b/packages/block-editor/src/components/inner-blocks/index.native.js @@ -39,7 +39,7 @@ import { MAX_NESTING_DEPTH } from './constants'; * * @param {Object} props Optional. Props to pass to the element. Must contain * the ref if one is defined. - * @param {Object} options Optional. Inner blocks options. + * @param {Object} options Optional. Inner blocks options. */ export function useInnerBlocksProps( props = {}, options = {} ) { const fallbackRef = useRef();