+
+ { BackgroundOptionsVideoOutput( props ) }
+
+
+ { __( 'WDS Example Block with Options' ) }
+
+
+
+ { props.attributes.message }
+
+
+ );
+ },
+ },
+ ],
} );
diff --git a/src/blocks/hero/index.js b/src/blocks/hero/index.js
index a6fa8661..d55ebe30 100644
--- a/src/blocks/hero/index.js
+++ b/src/blocks/hero/index.js
@@ -199,5 +199,62 @@ export default registerBlockType(
);
},
+ deprecated: [
+ {
+ attributes: {
+ message: {
+ type: 'array',
+ source: 'children',
+ selector: '.content-block',
+ },
+ alignment: {
+ type: 'string',
+ },
+ ...BlockTitleAttributes,
+ ...BackgroundOptionsAttributes,
+ ...TextOptionsAttributes,
+ ...OtherOptionsAttributes,
+ ...ButtonLinkAttributes,
+ },
+ save( props ) {
+ return (
+