Plugin brakes block editing
-
Thank you for putting in time developing the plugin!
I am getting a
TypeError: Cannot read property 'name' of null
error when editing random blocks with no data attribute on them. The error will break the block edit functionality and not allow me to edit the block until page reload.
Here is the part of the code (uglified) that throws the error:return Object(y.createElement)(m, null, Object(y.createElement)(f, n), r && Object(y.createElement)(m, null, p()(l, o.name) && Object(y.createElement)(w, null, Object(y.createElement)(S, { title: j("Data Attributes", "block-data-attribute"), initialOpen: !1 }
- The topic ‘Plugin brakes block editing’ is closed to new replies.