Hello @klevent I moved your post to a new Support topic. Were you able to resolve your issue? It certainly looks like a weird one!
If the code block you were unable to post on your site can be posted here on meta, then likely your site has a component or plugin that is interfering. Can you try safe mode?