Index: src/wp-includes/class-wp-block-type.php
===================================================================
--- src/wp-includes/class-wp-block-type.php	(revision 44473)
+++ src/wp-includes/class-wp-block-type.php	(working copy)
@@ -198,10 +198,13 @@
 	 * @return array Array of attributes.
 	 */
 	public function get_attributes() {
-		return is_array( $this->attributes ) ?
+		$attributes = is_array( $this->attributes ) ?
 			array_merge(
 				$this->attributes,
 				array(
+					'className' => array(
+						'type' => 'string',
+					),
 					'layout' => array(
 						'type' => 'string',
 					),
@@ -208,9 +211,13 @@
 				)
 			) :
 			array(
+				'className' => array(
+					'type' => 'string',
+				),
 				'layout' => array(
 					'type' => 'string',
 				),
 			);
+		return apply_filters( 'block_attributes', $attributes, $this );
 	}
 }
