Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion packages/block-editor/src/store/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -1697,7 +1697,11 @@ export const __experimentalGetParsedReusableBlock = createSelector(

// Only reusableBlock.content.raw should be used here, `reusableBlock.content` is a
// workaround until #22127 is fixed.
return parse( reusableBlock.content.raw || reusableBlock.content );
return parse(
typeof reusableBlock.content.raw === 'string'
? reusableBlock.content.raw
: reusableBlock.content
);
},
( state ) => [ getReusableBlocks( state ) ]
);
Expand Down