Doesn’t look like that for me. Maybe you have a plugin adding custom styling?
Here’s what I see: https://cloudup.com/c9lIXosNwF6
Thank you SO much for responding to my humble ticket! I have admired your contributions for a long time and I have the feeling that if I could just get a little help to start, then I will be able to haul my dev shop into the modern Gutenberg world.
You are correct, I have some plugin code that is distorting the button block. Here is the primary problem, where I am trying to deregister the “advanced” panel for all blocks:
function lxbDeRemoveCustomClassName( settings, name ) {
return lodash.assign( {}, settings, {
supports: lodash.assign( {}, settings.supports, {
customClassName: false
} ),
} );
}
wp.hooks.addFilter(
'blocks.registerBlockType',
'lxbDashboardEnhancements/RemoveCustomClassName',
lxbDeRemoveCustomClassName
);
When this code gets added, I get this error:
View post on imgur.com
Which causes most of the CSS problems I originally reported. What is the correct syntax for removing the “Advanced” tab?
Yeah, to be real honest with you, that kind of javascript code is outside my current knowledge set. Sorry, find somebody who understands JS better than me. 🙂