diff --git a/packages/blocks/src/api/serializer.js b/packages/blocks/src/api/serializer.js index 2542378c09f90d..74219369a29171 100644 --- a/packages/blocks/src/api/serializer.js +++ b/packages/blocks/src/api/serializer.js @@ -268,10 +268,11 @@ export function serializeBlock( block ) { case getUnregisteredTypeHandlerName(): return saveContent; - default: + default: { const blockType = getBlockType( blockName ); const saveAttributes = getCommentAttributes( blockType, block.attributes ); return getCommentDelimitedContent( blockName, saveAttributes, saveContent ); + } } }