Support Forum
On one of my sites where I use Metabox, the Gutenberg editor's styling is odd-looking. Front-end rendering is fine, but Gutenberg is showing zero spacing between heading/paragraph blocks. In fact, there's zero spacing between any blocks whatsoever. I believe this is plugin-related and I also believe that the first error in the console is causing effects on the post.php's styling downstream from it. Here's what I pulled from the console.
Console error:
`
14:00:47.703 load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2 Uncaught Error: Syntax error, unrecognized expression: ##type_1:not(.rwmb-clone-template ##type_1)
at I.error (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2:11769)
at Y (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2:17234)
at re (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2:20008)
at Function.I (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2:7520)
at Function.<anonymous> (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:5:2898)
at e.<computed> [as find] (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:5:1582)
at ce.fn.init.find (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2:21991)
at ce.fn.init (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2:22483)
at e.<computed>.<anonymous> (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:5:2438)
at new e.<computed> (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:5:1582)
I.error @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
Y @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
re @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
I @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
(anonymous) @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:5
e.<computed> @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:5
find @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
ce.fn.init @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
(anonymous) @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:5
e.<computed> @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:5
ce @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
get @ conditional-logic.js?ver=1725899036:16
getValue @ conditional-logic.js?ver=1725899036:323
(anonymous) @ conditional-logic.js?ver=1725899036:250
isLogicCorrect @ conditional-logic.js?ver=1725899036:214
(anonymous) @ conditional-logic.js?ver=1725899036:195
N @ underscore.min.js?ver=1.13.4:2
(anonymous) @ conditional-logic.js?ver=1725899036:188
N @ underscore.min.js?ver=1.13.4:2
runConditionalLogic @ conditional-logic.js?ver=1725899036:187
init @ conditional-logic.js?ver=1725899036:625
setTimeout
(anonymous) @ conditional-logic.js?ver=1725899036:647
(anonymous) @ conditional-logic.js?ver=1725899036:648
`
Next line shows some Bricks conflict:
`
14:00:48.485 dashboard.js?ver=1726331931:1 Element not found
14:00:48.602 dashboard.js?ver=1726331931:1 frontend
14:00:48.655 admin.min.js?ver=1724950110:1353 Uncaught TypeError: Cannot read properties of null (reading 'closest')
at bricksAdminMaintenanceTemplateListener (admin.min.js?ver=1724950110:1353:3)
at HTMLDocument.<anonymous> (admin.min.js?ver=1724950110:1502:2)
bricksAdminMaintenanceTemplateListener @ admin.min.js?ver=1724950110:1353
(anonymous) @ admin.min.js?ver=1724950110:1502
`
Then the next line shows more Metabox errors:
`
14:00:48.661 load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2 Uncaught Error: Syntax error, unrecognized expression: ##type_1:not(.rwmb-clone-template ##type_1)
at I.error (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2:11769)
at Y (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2:17234)
at re (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2:20008)
at Function.I (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2:7520)
at Function.<anonymous> (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:5:2898)
at e.<computed> [as find] (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:5:1582)
at ce.fn.init.find (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2:21991)
at ce.fn.init (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2:22483)
at e.<computed>.<anonymous> (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:5:2438)
at new e.<computed> (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:5:1582)
I.error @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
Y @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
re @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
I @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
(anonymous) @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:5
e.<computed> @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:5
find @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
ce.fn.init @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
(anonymous) @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:5
e.<computed> @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:5
ce @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
get @ conditional-logic.js?ver=1725899036:16
getValue @ conditional-logic.js?ver=1725899036:323
(anonymous) @ conditional-logic.js?ver=1725899036:250
isLogicCorrect @ conditional-logic.js?ver=1725899036:214
(anonymous) @ conditional-logic.js?ver=1725899036:195
N @ underscore.min.js?ver=1.13.4:2
(anonymous) @ conditional-logic.js?ver=1725899036:188
N @ underscore.min.js?ver=1.13.4:2
runConditionalLogic @ conditional-logic.js?ver=1725899036:187
init @ conditional-logic.js?ver=1725899036:625
(anonymous) @ conditional-logic.js?ver=1725899036:642
dispatch @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
v.handle @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
load
add @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
(anonymous) @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:5
e.<computed> @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:5
(anonymous) @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
each @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
each @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
Le @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
on @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2
(anonymous) @ conditional-logic.js?ver=1725899036:641
(anonymous) @ conditional-logic.js?ver=1725899036:648
`
Hello Michael,
Thank you for your feedback.
There is an issue with the feature MB Conditional Logic and that causes the JS error. The development team is working on that issue and it will be fixed in the next update of our plugin.