diff --git a/functions.php b/functions.php index 0c194cc..1493783 100644 --- a/functions.php +++ b/functions.php @@ -30,6 +30,19 @@ function lex_scotland_block_styles() { ' ) ); + register_block_style( 'core/paragraph', array( + 'name' => 'arrow-link', + 'label' => __( 'Arrow link', 'lex-scotland' ), + 'inline_style' => ' + p.is-style-arrow-link a:after { + display: inline-block; + content: "🡭"; + padding-inline-start: 0.25rem; + vertical-align: middle; + } + ' + ) ); + register_block_style( 'core/paragraph', array( 'name' => 'constrained', 'label' => __( 'Constrained', 'lex-scotland' ),