This commit is contained in:
F4ilji
2026-04-17 12:38:39 +05:00
parent 886cac5f95
commit 20f615365b
2 changed files with 8 additions and 1 deletions
+5 -1
View File
@@ -112,7 +112,11 @@ export default {
<Builder :blocks="blocks"/>
<PostAuthorsList :authors="post.data.authors"/>
<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>
<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',
'autoresize'
],
invalid_styles: 'all',
paste_remove_styles_if_webkit: true,
paste_merge_formats: true,
toolbar: 'undo redo | blocks | ' +
'bold italic forecolor link | alignleft aligncenter ' +
'alignright alignjustify | bullist numlist outdent indent | ' +