Remove unused constant

[MAILPOET-5642]
This commit is contained in:
Jan Lysý
2024-01-04 08:57:53 +01:00
committed by Rostislav Wolný
parent d4e2836a9d
commit 4b306dbca1

View File

@@ -7,11 +7,6 @@ namespace MailPoet\EmailEditor\Engine\Renderer\Preprocessors;
* The final width in pixels is stored in the email_attrs array because we would like to avoid changing the original attributes.
*/
class BlocksWidthPreprocessor implements Preprocessor {
const BLOCKS_WITHOUT_WIDTH = [
'core/paragraph',
];
public function preprocess(array $parsedBlocks, array $layoutStyles): array {
foreach ($parsedBlocks as $key => $block) {
// Layout width is recalculated for each block because full-width blocks don't exclude padding