Skip to content

Commit 7ea789c

Browse files
committed
feat (editor) add reusable block and list item
1 parent 38261a5 commit 7ea789c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

inc/Services/Editor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,12 @@ public function gutenberg_blocks_allowed( $allowed_blocks, \WP_Block_Editor_Cont
203203

204204
$allowed = [
205205
//base
206+
'core/block',
206207
'core/heading',
207208
'core/paragraph',
208209
'core/image',
209210
'core/list',
211+
'core/list-item',
210212
'core/quote',
211213
'core/pullquote',
212214
'core/table',

0 commit comments

Comments
 (0)