Add (post manage)
Add (post country viewing)
This commit is contained in:
18
resources/views/vendor/laravel_editorjs/blocks/quote.blade.php
vendored
Normal file
18
resources/views/vendor/laravel_editorjs/blocks/quote.blade.php
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
@php
|
||||
$class = '';
|
||||
|
||||
if ('center' === $data['alignment']) {
|
||||
$class = 'text-center';
|
||||
} elseif ('left' === $data['alignment']) {
|
||||
$class = 'text-left';
|
||||
} else {
|
||||
$class = 'text-right';
|
||||
}
|
||||
@endphp
|
||||
|
||||
<blockquote class="editor-quote">
|
||||
<p class="{{ $class }}">{{ $data['text'] }}</p>
|
||||
@if (!empty($data['caption']))
|
||||
<small class="{{ $class }}">— {{ $data['caption'] }}</small>
|
||||
@endif
|
||||
</blockquote>
|
||||
Reference in New Issue
Block a user