Skip to content

Commit b4e0c5a

Browse files
authored
Merge pull request #320 from BeAPI/feat/editor-default-blocks
feat (editor) add reusable block and list item
2 parents 87f4805 + 7ea789c commit b4e0c5a

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)