Using this plugin in combination with the plugin wp-rest-blocks which exposes block attributes in the Wordpress RestAPI.
Problem
Playing around with this plugin I encountered the following:
The block attribute flipHVertical does not Update in the RestAPI and thus leads to a faulty block when a post with an icon-block which has flipped vertically is reloaded in the editor ("This block contains unexpected or invalid content").
Possible Soloution
I just skimmed through your source code and found that in block.json you defined the following attributes:
Environtment
Wordpress 5.8.2
Using this plugin in combination with the plugin wp-rest-blocks which exposes block attributes in the Wordpress RestAPI.
Problem
Playing around with this plugin I encountered the following: The block attribute
flipHVertical
does not Update in the RestAPI and thus leads to a faulty block when a post with an icon-block which has flipped vertically is reloaded in the editor ("This block contains unexpected or invalid content").Possible Soloution
I just skimmed through your source code and found that in
block.json
you defined the following attributes:I guess
flipHVertical
may be a typo and should be replaced byflipVertical
.BTW: great plugin, I am enjoying working with it and it was kind of what I was searching for.