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

@ -38,7 +38,6 @@ class Renderer {
$renderedBody = $this->contentRenderer->render($post);
$styles = (string)file_get_contents(dirname(__FILE__) . '/' . self::TEMPLATE_STYLES_FILE);
$styles = apply_filters('mailpoet_email_renderer_styles', $styles, $post);
$template = (string)file_get_contents(dirname(__FILE__) . '/' . self::TEMPLATE_FILE);