Title: hideEl attribute breaks blocks using serverSideRender
Last modified: May 14, 2026

---

# hideEl attribute breaks blocks using serverSideRender

 *  Resolved [Tom Rhodes](https://wordpress.org/support/users/tommusrhodus/)
 * (@tommusrhodus)
 * [4 days, 10 hours ago](https://wordpress.org/support/topic/hideel-attribute-breaks-blocks-using-serversiderender/)
 * Hi! I’m running into issues with this plugin and blocks that use the `serverSideRender`
   component. Because you’re registering attributes onto all blocks using JS, those
   blocks that aren’t expecting an attribute throw a 400 when trying to generate
   markup over REST:
 *     ```wp-block-code
       {  "code": "rest_invalid_param",  "message": "Invalid parameter(s): attributes",  "data": {    "status": 400,    "params": {      "attributes": "hideEl is not a valid property of Object."    },    "details": {      "attributes": {        "code": "rest_additional_properties_forbidden",        "message": "hideEl is not a valid property of Object.",        "data": null      }    }  }}
       ```
   
 * I believe if you move the attribute registration over to the PHP side, this won’t
   happen any more.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Virgildia](https://wordpress.org/support/users/virgildia/)
 * (@virgildia)
 * [4 days, 9 hours ago](https://wordpress.org/support/topic/hideel-attribute-breaks-blocks-using-serversiderender/#post-18908043)
 * Hi [@tommusrhodus](https://wordpress.org/support/users/tommusrhodus/) thank you
   for reporting this.
 * A feature was recently added that enables animation options on all blocks. You
   can disable it globally by going to Settings -> Animated Blocks and turning off“
   Show animation controls on all blocks”.
 * Could you try that for now and use only the Animation block until I inspect the
   issue and release a fix?
 *  Thread Starter [Tom Rhodes](https://wordpress.org/support/users/tommusrhodus/)
 * (@tommusrhodus)
 * [4 days, 9 hours ago](https://wordpress.org/support/topic/hideel-attribute-breaks-blocks-using-serversiderender/#post-18908061)
 * Thank you for a quick reply! I have a patch in place for now:
 *     ```wp-block-code
       function extra_block_type_metadata( $metadata ) {	if ( empty( $metadata['name'] ) ) {		return $metadata;	}	if ( str_starts_with( $metadata['name'], 'block-namespace/' ) ) {		$metadata['attributes']['hideEl'] = false;	}	return $metadata;}add_filter( 'block_type_metadata', 'extra_block_type_metadata', 10 );
       ```
   
 *  Plugin Author [Virgildia](https://wordpress.org/support/users/virgildia/)
 * (@virgildia)
 * [1 day, 17 hours ago](https://wordpress.org/support/topic/hideel-attribute-breaks-blocks-using-serversiderender/#post-18910093)
 * Hi [@tommusrhodus](https://wordpress.org/support/users/tommusrhodus/) ! This 
   was resolved in the latest version. Please update and let me know if you encounter
   any other issues.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhideel-attribute-breaks-blocks-using-serversiderender%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/animated-blocks/assets/icon-256x256.png?rev=3528318)
 * [Animated Blocks on Scroll](https://wordpress.org/plugins/animated-blocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/animated-blocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/animated-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/animated-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/animated-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/animated-blocks/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Virgildia](https://wordpress.org/support/users/virgildia/)
 * Last activity: [1 day, 17 hours ago](https://wordpress.org/support/topic/hideel-attribute-breaks-blocks-using-serversiderender/#post-18910093)
 * Status: resolved