Move heading styles from CSS file to theme.json

Because we want to have all editor configurations in theme.json, I moved heading font sized to theme.json and removed redundant filters.
[MAILPOET-5640]
This commit is contained in:
Jan Lysý
2024-03-08 09:55:37 +01:00
committed by Jan Lysý
parent 15b0846f34
commit c415f1efce
6 changed files with 52 additions and 41 deletions

View File

@ -73,8 +73,6 @@ class SettingsController {
['css' => $flexEmailLayoutStyles],
];
$settings['styles'] = apply_filters('mailpoet_email_editor_editor_styles', $settings['styles']);
$settings['__experimentalFeatures'] = $themeSettings;
// Enabling alignWide allows full width for specific blocks such as columns, heading, image, etc.