回答編集履歴
1
文法の修正【 ); を追加】
test
CHANGED
@@ -32,9 +32,11 @@
|
|
32
32
|
|
33
33
|
get_template_directory_uri() . '/js/allowedBlock.js' ),
|
34
34
|
|
35
|
-
array( 'wp-blocks', 'wp-dom-ready', 'wp-edit-post' )
|
35
|
+
array( 'wp-blocks', 'wp-dom-ready', 'wp-edit-post' )
|
36
36
|
|
37
|
+
);
|
38
|
+
|
37
|
-
|
39
|
+
}
|
38
40
|
|
39
41
|
add_action('enqueue_block_editor_assets', 'allowed_block');
|
40
42
|
|