Add form block wrapper renderer
[MAILPOET-2746]
This commit is contained in:
committed by
Veljko V
parent
6c9d24a6ed
commit
65afeca59e
11
lib/Form/BlockWrapperRenderer.php
Normal file
11
lib/Form/BlockWrapperRenderer.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace MailPoet\Form;
|
||||
|
||||
use MailPoet\Models\Form;
|
||||
|
||||
class BlockWrapperRenderer {
|
||||
public function render(array $block, string $blockContent): string {
|
||||
return '<div class="mailpoet_paragraph">' . $blockContent . '</div>';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user