{{ __mc('A template is a reusable layout that can be used as a starting point for your campaigns, automation emails or transactional mails.') }}

{!! __mc('Create slots in your template by adding the name in triple brackets, for example: [[[content]]]. You can add as many slots as you like.') !!}

{!! __mc('By default your chosen editor will be loaded, you can append :text to your placeholder for a simple text input, or :image for an image upload that will fill the uploaded URL in the slot, for example: [[[preheader:text]]] or [[[logo:image]]]') !!}
@livewire(config('mailcoach.template_editor'), [ 'model' => $template, 'quiet' => true, ])
@if (config('mailcoach.template_editor') !== \Spatie\Mailcoach\Domain\Editor\Unlayer\Editor::class) @endif
@if (! preg_match_all('/\[\[\[(.*?)\]\]\]/', $html, $matches) && ! preg_match_all('/\[\[\[(.*?)\]\]\]/', $template->html, $matches)) {!! __mc('We found no slots in this template. You can add slots by adding the name in triple brackets, for example: [[[content]]].') !!} @endif