Gutenberg code block Appears in a big way in editor

Hello,

in my WordPress post editor, when I try to add a code block, it appears wider than the normal blocks. Does anybody have an idea about this?

Can you try in Incognito Window? This usually happens to me several times and I used to get it solved by opening wp-admin in the Incognito window!

Thanks for the reply.

However, this was the issues in the theme as suggested in the wordpress forum.

Then the support team from my theme developer was able to solve this.

1 Like

Whenever issues like this happen, consider testing with default theme once.

How to change the theme on the live site for JUST testing?

Is there any plugin useful for testing like this?

This plugin allows to activate theme privately for admin only.

If you are using cPanel, you can utilize Staging Feature.