Block Extras

Descrição

Block extras adds new attributes to many of the default Gutenberg blocks. This allows extra customisation on top of your theme’s CSS, within the parameters you allow.

The plugin uses utility auto-generated CSS classes to add the relevant CSS attribute to your blocks, no inline styles are used.

  • Individual margins (including negative) and padding can be applied to many block types.
  • Typography blocks (paragraphs and headings) can have line height and letter spacing applied.
  • Rounded corners can be applied to groups blocks.

Blocks currently supported

  • core/paragraph – margin, padding, line height, letter spacing
  • core/image – margin, padding
  • core/heading – margin, padding, line height, letter spacing
  • core/gallery – margin
  • core/list – margin, padding
  • core/quote – margin, padding
  • core/table – margin
  • core/group – margin, padding, rounded corners

Imagens de tela

  • Group block with margins and rounded corners being applied
  • Heading block with line height and letter spacing being applied
  • Gutenberg side panel showing options for a group block - margin, padding and rounded corners
  • Gutenberg side panel showing options for a paragraph block - margin, padding, line height and letter spacing
  • Block extras options screen

Instalação

  1. Upload the plugin files to your plugin directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->Block Extras Settings screen to configure the plugin

FAQ

Does this plugin add inline styles?

No, it uses automatically generated classes to achieve the selected options.

Can I customise the stylesheet?

No, the stylesheet is automatically created when changing any block settings.

Can I change how much of an attribute is applied?

You can only apply the minimum, maximum and default settings to an attribute. Individual customisation is not currently possible.

Contribuidores e desenvolvedores

“Block Extras” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.

Contribuidores

Registro de alterações

1.01

  • Fixed an issue when changing an attribute’s default value where the any blocks with that new default showed a gutenberg unexpected block error

1.0

  • Initial release