관리자 제목 입력 흐름 보정

This commit is contained in:
2026-05-01 23:11:51 +09:00
parent 3afef9d0d2
commit 49de0e277c
7 changed files with 41 additions and 7 deletions

View File

@@ -564,10 +564,14 @@ watch(editorBlocks, () => {
isApplyingExternalValue.value = false
})
}, { deep: true })
defineExpose({
focusFirstBlock: () => focusBlock(0)
})
</script>
<template>
<div class="admin-block-editor min-h-[32rem] bg-transparent py-4">
<div class="admin-block-editor min-h-[32rem] bg-transparent py-4 text-ink">
<div class="admin-block-editor__surface post-prose grid gap-1">
<div
v-for="(block, index) in editorBlocks"
@@ -629,4 +633,8 @@ watch(editorBlocks, () => {
color: var(--site-soft);
content: attr(data-placeholder);
}
.admin-block-editor__block {
color: #1f2328;
}
</style>