- Issue created by @vegardjo
Hovering over column block and gallery block in block selector left panel causes error when block image is not enabled.
Better shown:
I have disabled core/image
as I use media, and you get this error only when hovering the column and gallery blocks in the sidebar. You can add the blocks just fine using other methods.
Error is:
Error: Block type 'core/image' is not registered.
at __experimentalSanitizeBlockAttributes (https://MYSITE/modules/contrib/gutenberg/js/vendor/gutenberg/blocks/index.js?sqy7bw:8290:11)
at createBlock (https://MYSITE/modules/contrib/gutenberg/js/vendor/gutenberg/blocks/index.js?sqy7bw:7674:31)
at getBlockFromExample (https://MYSITE/modules/contrib/gutenberg/js/vendor/gutenberg/blocks/index.js?sqy7bw:8081:10)
at https://MYSITE/modules/contrib/gutenberg/js/vendor/gutenberg/blocks/index.js?sqy7bw:8081:185
at Array.map (<anonymous>)
at getBlockFromExample (https://MYSITE/modules/contrib/gutenberg/js/vendor/gutenberg/blocks/index.js?sqy7bw:8081:167)
at https://MYSITE/modules/contrib/gutenberg/js/vendor/gutenberg/block-editor/index.js?sqy7bw:26741:70
at Object.bi [as useMemo] (https://MYSITE/modules/contrib/gutenberg/js/vendor/react-dom.min.js?v=16.8.4:118:131)
at c.useMemo (https://MYSITE/modules/contrib/gutenberg/js/vendor/react.min.js?v=16.8.4:29:322)
at InserterPreviewPanel (https://MYSITE/modules/contrib/gutenberg/js/vendor/gutenberg/block-editor/index.js?sqy7bw:26737:65)
Active
3.0
Code