Skip to content

Commit

Permalink
Revert apiVersion check
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Oct 25, 2021
1 parent 28dbcf0 commit 72e7db6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/blocks/src/api/serializer.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ export function getSaveElement(
let element = save( { attributes, innerBlocks } );

if (
! blockType.apiVersion &&
isObject( element ) &&
hasFilter( 'blocks.getSaveContent.extraProps' ) &&
! ( blockType.apiVersion > 1 )
Expand Down

0 comments on commit 72e7db6

Please sign in to comment.