Use render_block_* hooks for rendering changed blocks

[MAILPOET-5591]
This commit is contained in:
Jan Lysý
2023-10-24 08:52:11 +02:00
committed by Jan Lysý
parent 4f9e3723c9
commit c2cb18ef37
8 changed files with 41 additions and 34 deletions

View File

@@ -2,8 +2,6 @@
namespace MailPoet\EmailEditor\Engine\Renderer;
use MailPoet\EmailEditor\Engine\SettingsController;
interface BlockRenderer {
public function render(array $parsedBlock, BlocksRenderer $blocksRenderer, SettingsController $settingsController): string;
public function render(string $blockContent, array $parsedBlock): string;
}