changes
This commit is contained in:
@@ -112,7 +112,11 @@ export default {
|
|||||||
<Builder :blocks="blocks"/>
|
<Builder :blocks="blocks"/>
|
||||||
<PostAuthorsList :authors="post.data.authors"/>
|
<PostAuthorsList :authors="post.data.authors"/>
|
||||||
<div>
|
<div>
|
||||||
<PostGallery v-if="post.data.gallery.length > 1" :title="post.data.title" :images="post.data.gallery"/>
|
<PostGallery
|
||||||
|
v-if="post?.data?.gallery?.length > 1"
|
||||||
|
:title="post.data.title"
|
||||||
|
:images="post.data.gallery"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<a :href="route('client.post.index', { 'tag[]': tag.slug })" v-for="tag in post.data.tags" class="m-1 inline-flex items-center gap-1.5 py-2 px-3 rounded-full text-sm bg-gray-100 text-gray-800 hover:bg-gray-200 focus:outline-none focus:bg-gray-200 dark:bg-neutral-800 dark:text-neutral-200 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700" href="#">
|
<a :href="route('client.post.index', { 'tag[]': tag.slug })" v-for="tag in post.data.tags" class="m-1 inline-flex items-center gap-1.5 py-2 px-3 rounded-full text-sm bg-gray-100 text-gray-800 hover:bg-gray-200 focus:outline-none focus:bg-gray-200 dark:bg-neutral-800 dark:text-neutral-200 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700" href="#">
|
||||||
|
|||||||
@@ -90,6 +90,9 @@ export default {
|
|||||||
'insertdatetime', 'media', 'table', 'code', 'help', 'wordcount',
|
'insertdatetime', 'media', 'table', 'code', 'help', 'wordcount',
|
||||||
'autoresize'
|
'autoresize'
|
||||||
],
|
],
|
||||||
|
invalid_styles: 'all',
|
||||||
|
paste_remove_styles_if_webkit: true,
|
||||||
|
paste_merge_formats: true,
|
||||||
toolbar: 'undo redo | blocks | ' +
|
toolbar: 'undo redo | blocks | ' +
|
||||||
'bold italic forecolor link | alignleft aligncenter ' +
|
'bold italic forecolor link | alignleft aligncenter ' +
|
||||||
'alignright alignjustify | bullist numlist outdent indent | ' +
|
'alignright alignjustify | bullist numlist outdent indent | ' +
|
||||||
|
|||||||
Reference in New Issue
Block a user