WordPree5.7.1で「再利用ブロックに追加」のエラー
-
WordPree5.7.1で
register_block_style()
のcore/paragraph
を追記(使用)した状態で新規投稿にて最初の段落スタイルを”再利用ブロックに追加”するとエラーになります。エラー文
The editor has encountered an unexpected error追加コード(functions.php)
register_block_style(
‘core/paragraph’,
array(
‘name’ => ‘blue-paragraph’,
‘label’ => __( ‘Blue paragraph’ ),
‘inline_style’ => ‘.is-style-blue-paragraph { color: blue; }’,
)
);functions.php(テーマ:Twenty Twenty-One)
これはバグでしょうか?
よろしくお願い致します。関連:https://developer.wordpress.org/block-editor/reference-guides/filters/block-filters/#register_block_style
ヘルプの必要なページ: [リンクを見るにはログイン]
3件の返信を表示中 - 1 - 3件目 (全3件中)
3件の返信を表示中 - 1 - 3件目 (全3件中)
- トピック「WordPree5.7.1で「再利用ブロックに追加」のエラー」には新たに返信することはできません。