Support › MB Blocks › Styling of a block in backend
styling of my custom block disappeared in the Gutenberg editor, but normally displays in the front end.
Inspector shows that proper classes are there, but no styling is applied.
What could be the reason for that?
The CSS code should be rendered on the backend when you preview the block. But the JS code might not. Please read more here https://docs.metabox.io/extensions/mb-blocks/#enqueue_style
If the CSS code is not rendered, please follow the Debugging Information step to troubleshoot the issue https://support.metabox.io/topic/how-to-create-a-new-topic/
And please let me know how did you enqueue/add the CSS code?