Skip to content

Commit

Permalink
Editor: Fix custom settings not appearing in block editor store
Browse files Browse the repository at this point in the history
  • Loading branch information
Sukhendu2002 committed Jan 8, 2025
1 parent ad4da87 commit eabce5e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ function useBlockEditorSettings( settings, postType, postId, renderingMode ) {

return useMemo( () => {
const blockEditorSettings = {
...settings,
...Object.fromEntries(
Object.entries( settings ).filter( ( [ key ] ) =>
BLOCK_EDITOR_SETTINGS.includes( key )
Expand Down

0 comments on commit eabce5e

Please sign in to comment.