Highlighting in Gutenberg (Beta)

Hello, I’m writing an article in Gutenberg and there’s a section I have highlighted but it has not outputted on the frontend.

Is there a way I can do something like this? FYI I am currently on the Pro BETA version–originally posted this in support forum but I was advised to post here.

@dlukefinch, thanks for writing in. Please see my response in this thread regarding a filter that you should be able to get this back. I believe this is due to some WIP items that made their way into our master branch that were intended as research for a cleaner base. If disabling the cs_disable_wp_extraneous filter mentioned in there works for you, this is likely just something we need to add back in by default to ensure that block styles are outputting appropriately for users.

Addingadd_filter( 'cs_disable_wp_extraneous', '__return_false', -1 ); worked. Thanks.

@dlukefinch, just so you know, this filter will be removed in the next beta / release, so all of your Gutenberg styles should come back at that point.

Thanks!

1 Like

Excellent! Thanks Kory.

No problem!