File tree Expand file tree Collapse file tree 1 file changed +22
-13
lines changed Expand file tree Collapse file tree 1 file changed +22
-13
lines changed Original file line number Diff line number Diff line change @@ -204,19 +204,28 @@ public function admin_editor_script(): void {
204
204
'theme-admin-editor-script ' ,
205
205
'const BFFEditorSettings = ' . wp_json_encode (
206
206
[
207
- 'disableAllBlocksStyles ' => apply_filters ( 'bff/editor/disable_all_blocks_styles ' , [
208
- 'core/separator ' ,
209
- 'core/quote ' ,
210
- 'core/pullquote ' ,
211
- 'core/table ' ,
212
- 'core/image ' ,
213
- ] ),
214
- 'disabledBlocksStyles ' => apply_filters ( 'bff/editor/disabled_blocks_styles ' , [
215
- // 'core/button' => [ 'outline' ]
216
- ] ),
217
- 'allowedBlocksVariations ' => apply_filters ( 'bff/editor/allowed_blocks_variations ' , [
218
- 'core/embed ' => [ 'youtube ' , 'vimeo ' , 'dailymotion ' ],
219
- ] ),
207
+ 'disableAllBlocksStyles ' => apply_filters (
208
+ 'bff_editor_disable_all_blocks_styles ' ,
209
+ [
210
+ 'core/separator ' ,
211
+ 'core/quote ' ,
212
+ 'core/pullquote ' ,
213
+ 'core/table ' ,
214
+ 'core/image ' ,
215
+ ]
216
+ ),
217
+ 'disabledBlocksStyles ' => apply_filters (
218
+ 'bff_editor_disabled_blocks_styles ' ,
219
+ [
220
+ // 'core/button' => [ 'outline' ]
221
+ ]
222
+ ),
223
+ 'allowedBlocksVariations ' => apply_filters (
224
+ 'bff_editor_allowed_blocks_variations ' ,
225
+ [
226
+ 'core/embed ' => [ 'youtube ' , 'vimeo ' , 'dailymotion ' ],
227
+ ]
228
+ ),
220
229
]
221
230
),
222
231
'before '
You can’t perform that action at this time.
0 commit comments