Gutenburg: Remove border of selected block


I am writing a plugin that creates a custom block. When the block is selected/focused, a border is created abound it (blue in the current version of WP).

I would like to disable the border for the specific block type, either in JavaScript or CSS. The problem is that block content in editor is wider than the block border, so it looks awkward. What would be a good solution?

Vakarelov 9 months 2022-05-03T13:12:07-05:00 0 Answers 0 views 0

Leave an answer