Add support for the site theme's color palette
[MAILPOET-5741]
This commit is contained in:
committed by
Rostislav Wolný
parent
e5d11f99d4
commit
5f2b5e4bd4
@ -54,7 +54,7 @@ class SettingsController {
|
||||
public function getSettings(): array {
|
||||
$coreDefaultSettings = get_default_block_editor_settings();
|
||||
$editorTheme = $this->getTheme();
|
||||
$themeSettings = $editorTheme->get_settings();
|
||||
$themeSettings = $this->themeController->getSettings();
|
||||
|
||||
// body selector is later transformed to .editor-styles-wrapper
|
||||
// setting padding for bottom and top is needed because \WP_Theme_JSON::get_stylesheet() set them only for .wp-site-blocks selector
|
||||
|
Reference in New Issue
Block a user