hideEl attribute breaks blocks using serverSideRender
-
Hi! I’m running into issues with this plugin and blocks that use the
serverSideRendercomponent. 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:{
"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)
Viewing 3 replies - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.