Error with “Add to Reuse Block” in WordPree 5.7.1
-
Error when “adding the first paragraph style to the reuse block” in a new post with
core/paragraph
added (or used) inregister_block_style()
in WordPree 5.7.1 The error message isError statement
The editor has encountered an unexpected errorAdditional code (functions.php)
register_block_style( 'core/paragraph', array( 'name' => 'blue-paragraph', 'label' => __( 'Blue paragraph' ), 'inline_style' => '.is-style-blue-paragraph { color: blue; }', ) );
functions.php (theme: Twenty Twenty-One)
Is this a bug?
- This topic was modified 2 years, 11 months ago by .
- This topic was modified 2 years, 11 months ago by .
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Error with “Add to Reuse Block” in WordPree 5.7.1’ is closed to new replies.