There is a bug when using the selector [class^=] on latest version of Brick Builder. The bug doesn’t appear on page build with Gutenberg, only on pages build with Bricks.
REPRODUCING THE BUG
• Using a virgin install of WordPress 6.6.2 + Bricks Builder v1.11.
• Create a new page on Bricks Builder.
• Create a basic Section + Container + Heading.
• Apply the class “.xxx” on the Heading.
PROBLEM
• Either of these two CSS will work fine:
.xxx { border: 5px solid red; }
OR
[class*="xxx"] { border: 5px solid blue; }
• But neither of these two CSS will work (even if it should):
[class^="xxx"] { border: 5px solid green; }
OR
[class="xxx"] { border: 5px solid violet; }
• All these 4 classes work fine when applied on a basic “not bricks” Gutenberg page.
FOR INFO
*= select all class that contain the string “xxx”.
^= select all the class that start with the string “xxx”.
=> Is anyone able to reproduce this bug?