diff --git a/packages/block-editor/README.md b/packages/block-editor/README.md index 82278316e823a..17934b030b5dd 100644 --- a/packages/block-editor/README.md +++ b/packages/block-editor/README.md @@ -499,6 +499,8 @@ _Properties_ - _\_\_experimentalBlockDirectory_ `boolean`: Whether the user has enabled the Block Directory - _\_\_experimentalEnableFullSiteEditing_ `boolean`: Whether the user has enabled Full Site Editing - _\_\_experimentalEnableFullSiteEditingDemo_ `boolean`: Whether the user has enabled Full Site Editing Demo Templates +- _\_\_experimentalBlockPatterns_ `Array`: Array of objects representing the block patterns +- _\_\_experimentalBlockPatternCategories_ `Array`: Array of objects representing the block pattern categories # **SkipToSelectedBlock** diff --git a/packages/block-editor/src/store/defaults.js b/packages/block-editor/src/store/defaults.js index e6b987effc689..3c62084982791 100644 --- a/packages/block-editor/src/store/defaults.js +++ b/packages/block-editor/src/store/defaults.js @@ -35,6 +35,8 @@ export const PREFERENCES_DEFAULTS = { * @property {boolean} __experimentalBlockDirectory Whether the user has enabled the Block Directory * @property {boolean} __experimentalEnableFullSiteEditing Whether the user has enabled Full Site Editing * @property {boolean} __experimentalEnableFullSiteEditingDemo Whether the user has enabled Full Site Editing Demo Templates + * @property {Array} __experimentalBlockPatterns Array of objects representing the block patterns + * @property {Array} __experimentalBlockPatternCategories Array of objects representing the block pattern categories */ export const SETTINGS_DEFAULTS = { alignWide: false, @@ -156,6 +158,9 @@ export const SETTINGS_DEFAULTS = { __experimentalEnableFullSiteEditing: false, __experimentalEnableFullSiteEditingDemo: false, __mobileEnablePageTemplates: false, + __experimentalBlockPatterns: [], + __experimentalBlockPatternCategories: [], + gradients: [ { name: __( 'Vivid cyan blue to vivid purple' ),