TypeError: Cannot read property ‘attributes’ of undefined
-
Hi, really like the grids plugin but unfortunately there is a bug in the 1.2.21 verison.
When you put the grids layout block inside another block as innerblock then the plugin crashes throwing the following error:
react-dom.min.js?ver=16.9.0:103 TypeError: Cannot read property ‘attributes’ of undefined
at edit (grids.js?ver=1.2.21:1)
at je (react-dom.min.js?ver=16.9.0:78)
at qe (react-dom.min.js?ver=16.9.0:89)
at ph (react-dom.min.js?ver=16.9.0:216)
at lh (react-dom.min.js?ver=16.9.0:126)
at O (react-dom.min.js?ver=16.9.0:121)
at ze (react-dom.min.js?ver=16.9.0:118)
at react-dom.min.js?ver=16.9.0:53
at unstable_runWithPriority (react.min.js?ver=16.9.0:26)
at Ma (react-dom.min.js?ver=16.9.0:52)I use this plugin within a custom block but you can repoduce the error by:
1) add the default columns block and select a layout
2) put the grids layout inside a given column
3) select a layout for the grids plugin
4) add a paragraph text inside an area of a section
5) click outside the paragraph text and the area will crash.Thanks in advance!
- The topic ‘TypeError: Cannot read property ‘attributes’ of undefined’ is closed to new replies.