admin管理员组

文章数量:1278976

As of WP 5.8.1 (or 5.8.0) the Gutenberg Editor gets to be default even for Widgets.

So I've started to create some Widgets with Gutenberg blocks. My issue is that if I add custom CSS to the blocks (through the block editor's custom css tab, wrapped in the selector {...} statement), it gets stripped out when the page is rendered.

Question: is this

  • a bug
  • an intended behaviour
  • or am I doing something wrong ?

本文标签: Custom CSS in Widget editor (Gutenberg) gets stripped out