Modifying the Gutenberg Button Block

admin2025-06-05  1

I am trying to learn how to use Gutenberg and would like to start with a simple plugin to modify the built-in button block.

Basically, I'd like my plugin to do two things.

One - modify the underlying html. Right now, the button is an a tag inside of a div tag. I just want an a without the div tag.

Secondly, I'd like to be able to add my own, custom classes (and not use the built-in classes).

Does anyone know how to do this?

Thanks.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1749134329a316653.html

最新回复(0)