bjork icon indicating copy to clipboard operation
bjork copied to clipboard

Bjork 0.2.4 - Styles Issue

Open carlbtmn opened this issue 11 months ago • 4 comments

Styles > Blocks > Site Title

I'm getting an error when I try to change the default FONT for the site title. This is not happening with other themes.

Error: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

Can anyone confirm this?

Thank you.

carlbtmn avatar Jan 05 '25 14:01 carlbtmn

Hey @carlbtmn! Thanks for creating the issue. It seems like this a problem in WordPress Core, caused by the value of the fontStyle attribute set on the core/site-title block in Björk. I've created an issue for it in the Gutenberg repo here.

For now, you can change the "fontStyle": "inherit" line for the core/site-title block to "fontStyle": "normal" to prevent the crash from occurring.

andersnoren avatar Jan 05 '25 20:01 andersnoren

Hello @andersnoren, Thank you for the quick update.

I read the Gutenberg repo and I noticed that you were able to replicate the issue with the Twenty Twenty-Four theme. I only have Twenty-Five installed and I can confirm that the issue is not present.

carlbtmn avatar Jan 06 '25 12:01 carlbtmn

@carlbtmn That's correct – it's not occurring out of the box in Twenty Twenty-Four either, but I could reproduce it by modifying the theme.json file. They prefer that you replicate and report bugs with one of the default themes to ensure it's not caused by issues specific to a third-party theme.

andersnoren avatar Jan 06 '25 13:01 andersnoren

Gotcha! Thank you for reporting this and hopefully they release a fix.

carlbtmn avatar Jan 06 '25 18:01 carlbtmn