Can’t use with reusable blocks
-
We’re not able to edit stackable blocks inside reusable block areas. Doing so breaks the block with a ‘This block has encountered an error and can’t be previewed’ and outputs the following console error messages:
TypeError: Cannot read property 'setAttribute' of null
from{ key: "updateSidebarPanelTab", value: function(e) { var t = this.containerDiv.current.closest(".components-panel"); t.setAttribute("data-ugb-tab", e), t.closest(".edit-post-sidebar").classList.add("ugb--has-panel-tabs") } }
Cannot read property 'querySelector' of undefined
from
this.getActiveTabPanelContainer().querySelector(".components-panel__body:nth-child(".concat(e + 1, "):not(.is-opened) .components-panel__body-toggle"))
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Can’t use with reusable blocks’ is closed to new replies.