공개 상세 경로와 새 글 에디터 보정
This commit is contained in:
@@ -881,7 +881,7 @@ watch(() => props.modelValue, (value) => {
|
||||
|
||||
const currentValue = serializeBlocks()
|
||||
|
||||
if (value === currentValue) {
|
||||
if (value === currentValue && editorBlocks.value.length) {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
@@ -13,16 +13,16 @@ const { data: tags } = await useFetch('/api/tags', {
|
||||
<span>Home pages</span>
|
||||
<span>⌄</span>
|
||||
</NuxtLink>
|
||||
<NuxtLink class="left-sidebar__nav-link py-2 pl-3" to="/tags/note">
|
||||
<NuxtLink class="left-sidebar__nav-link py-2 pl-3" to="/tags">
|
||||
Tags
|
||||
</NuxtLink>
|
||||
<NuxtLink class="left-sidebar__nav-link py-2 pl-3" to="/pages/about">
|
||||
Authors
|
||||
</NuxtLink>
|
||||
<NuxtLink class="left-sidebar__nav-link py-2 pl-3" to="/posts/hello-sori-studio">
|
||||
<NuxtLink class="left-sidebar__nav-link py-2 pl-3" to="/post/hello-sori-studio">
|
||||
Style
|
||||
</NuxtLink>
|
||||
<NuxtLink class="left-sidebar__nav-link flex items-center justify-between py-2 pl-3" to="/posts/custom-writing-tool">
|
||||
<NuxtLink class="left-sidebar__nav-link flex items-center justify-between py-2 pl-3" to="/post/custom-writing-tool">
|
||||
<span>Post types</span>
|
||||
<span>⌄</span>
|
||||
</NuxtLink>
|
||||
@@ -46,7 +46,7 @@ const { data: tags } = await useFetch('/api/tags', {
|
||||
v-for="tag in tags"
|
||||
:key="tag.id"
|
||||
class="left-sidebar__category flex items-center gap-3"
|
||||
:to="`/tags/${tag.slug}`"
|
||||
:to="`/tag/${tag.slug}`"
|
||||
>
|
||||
<span class="left-sidebar__category-color h-4 w-1 rounded-full" :style="{ backgroundColor: tag.color }" />
|
||||
<span class="left-sidebar__category-name">{{ tag.name }}</span>
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
<span>↗</span>
|
||||
</div>
|
||||
<div class="right-sidebar__links mt-4 grid gap-3 text-sm">
|
||||
<NuxtLink class="right-sidebar__link font-semibold" to="/posts/hello-sori-studio">
|
||||
<NuxtLink class="right-sidebar__link font-semibold" to="/post/hello-sori-studio">
|
||||
sori.studio 첫 글과 방향
|
||||
</NuxtLink>
|
||||
<NuxtLink class="right-sidebar__link font-semibold" to="/pages/projects">
|
||||
|
||||
Reference in New Issue
Block a user